ColorPick.js
ColorPick.js copied to clipboard
How do you get the value?
Since it is in div class name, i cant get the value
Tried to use it on input types, but doesnt work
get the css property using this code (here "picker" is the class name of the div)
const color = document.querySelector('.picker').style.color