Forum Discussion

royd's avatar
royd
Regular Contributor
6 years ago

Trying to get Hex/RGB value of a color preview swatch, please help!

Hi everyone   In configuration page some colors are customizable.  When clicked on any of the input fields, a color chooser pops up. Selecting a color populates the field with the hex value...
  • tristaanogre's avatar
    tristaanogre
    6 years ago

    backgroundColor is not a method, it's the actual property.   So, just compare that property to the desired value.