Skip to main content
Inspiring
September 7, 2012
Question

JavaScript: Get pixel of a defined color

  • September 7, 2012
  • 1 reply
  • 772 views

hi,

     I have to get a pixel of a defined color value, the mode of the color value would be hsb, rgb or hex.

Could you please help me on this!

thanks,

rajiv.s

This topic has been closed for replies.

1 reply

c.pfaffenbichler
Community Expert
Community Expert
September 7, 2012

Please clarify.

I can’t make out whether you need to

• locate an existing pixel of said color or

• create a pixel of that color.

Inspiring
September 7, 2012

let me explain it in detail:

>> in HSB value, H : whatever it is; S: 76, B: 88

find a pixel of these values in the active layer of the existing document..

please let me know for the further query.

thanks,

rajiv.s