Is there a way to get the color at a given X
and Y
position via jQuery? For example, what is the color of pixel 0,0?
We are trying to figure out, if we need to use a dark or light color scheme depending on the background color. Thanks.
Is there a way to get the color at a given X
and Y
position via jQuery? For example, what is the color of pixel 0,0?
We are trying to figure out, if we need to use a dark or light color scheme depending on the background color. Thanks.
Why don't you just query the DOM for the body's color?
Per Get hex value of clicked on color with jQuery, what you're strictly asking for can't (currently) be done.