1

Goal:
Compare one color selected with eyedropper tool to foreground color (white).
If foreground color (f7f7f7) is close to white (ffffff) then run code...
I want to find/convert selected color to nearest web color.
If I turn on Only web colors in Color picker, then foreground color (f7f7f7)= white.
With a javascript turn on/off option for "Only web colors" in Color picker.

I have found only script which pop up Color picker: app.showColorPicker() enter image description here
Any ideas, please?
Thank you!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.