Java's RGB Colors not working correctly


#1

Hello! On another website, I’ve practice coding and was introduced to Codecademy and like it. I started the programs and I guess I don’t understand what I’m doing incorrectly or Java works differently with RGB values. There is a part that allows me to play around with the colors and looks like this: Color [ 0,0,0]
This is supposed to be the RGB values if I’m correct but when I put: [255,0,0] to get the brightest red it just gives me the color black. So, is there something I’m missing or don’t understand? Thanks for reading. Hope to get a response as soon as possible. Happy Coding!


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.