Saturated Color
For example: to specify a color of full red in either system, we set the first number to 255, and the other two to 0. Likewise, to specify a color of full green or full blue, use a value of 255 for the color in question, and 0 for the others:
- Name: red;
- RGB: rgb(255, 0, 0);
- Hex: #ff0000;
- Name: green;
- RGB: rgb(0, 255, 0);
- Hex: ##00ff00;
- Name: blue;
- RGB: rgb(0, 0, 255);
- Hex: #0000ff;
- Previous
- Next