KingKong Posted December 20, 2011 Share Posted December 20, 2011 I don't know if its done on purpose but simba(and scar) return the wrong integer color values. Eg: I pick a color from the rs screen and the pixel has rgb values of (123, 122, 121). The integer color value of this pixel should be 8092281(hex value of 7B7A79), but simba(and scar) return 7961211(rgb value of 121, 122, 123. Which means the red and blue values are swapped). This is the same from this thread: http://villavu.com/forum/showthread.php?t=69568 Quote Link to comment Share on other sites More sharing options...
FHannes Posted December 20, 2011 Share Posted December 20, 2011 SCAR's colorpicker uses the GetPixel Windows API and returns the color directly, it's never modified... Quote Link to comment Share on other sites More sharing options...
KingKong Posted December 20, 2011 Author Share Posted December 20, 2011 If you go here: http://drpeterjones.com/colorcalc/ and enter the rgb values of r = 255, g = 0, b = 0, and then use the color picker, the color value is 255, but if you go here: http://www.shodor.org/stella2java/rgbint.html and enter the same rgb values the answer is 16711680(hex of 0xff0000). So one of them is wrong, either the getpixel() from windows api is wrong or every single online color converter is wrong. I can't figure out which one. Quote Link to comment Share on other sites More sharing options...