Mike3456 Posted July 4, 2016 Share Posted July 4, 2016 Logically, green should be #00FF00 because green is G in RGB where R is #FF0000 and B is #0000FF However, all the RGB tables list green as #008000 while #00FF00 is actually lime I played with a browser by setting background color using names and codes and clearly green=#008000 and lime=#00FF00 Some sources provide the codes incorrectly, e.g. Wikipedia says green is #00FF00 at https://en.wikipedia.org/wiki/Green It also says lime is #BFFF00 at https://en.wikipedia.org/wiki/Lime_(color) Link to comment Share on other sites More sharing options...
Ingolme Posted July 4, 2016 Share Posted July 4, 2016 These are the colors that were defined by the W3C and are the ones that browsers use: https://www.w3.org/wiki/CSS/Properties/color/keywords I wouldn't rely on names for colors. They're vague and subjective. Use hexadecimal codes to ensure the color is exactly what you expected. There are six pure colors: Primary additive colors Red #FF0000 Green #00FF00 Blue #0000FF Primary subtractive colors Cyan #00FFFF Magenta #FF00FF Yellow #FFFF00 For each of these colors you can change the value of FF change the brightness of those colors. #008000 is green and so is #00FF00. The only difference is the brightness of that green. Some people like to refer to really bright tones of green as "lime" but that's subjective. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now