Since it is in div class name, i cant get the value Tried to use it on input types, but doesnt work
Activity
tharaka4146 commentedon Oct 12, 2022
get the css property using this code (here "picker" is the class name of the div)
const color = document.querySelector('.picker').style.color