Here’s a cheat sheet for RGB color codes:
In RGB (Red, Green, Blue) color representation, colors are created by combining different intensities of red, green, and blue light. Each color component is represented by a number ranging from 0 to 255.
Basic Colors
- Black:
rgb(0, 0, 0)
- White:
rgb(255, 255, 255)
- Red:
rgb(255, 0, 0)
- Green:
rgb(0, 255, 0)
- Blue:
rgb(0, 0, 255)
Shades of Gray
- Gray:
rgb(128, 128, 128)
- Light Gray:
rgb(192, 192, 192)
- Dark Gray:
rgb(64, 64, 64)
Primary Colors
- Yellow:
rgb(255, 255, 0)
- Cyan:
rgb(0, 255, 255)
- Magenta:
rgb(255, 0, 255)
Secondary Colors
- Orange:
rgb(255, 165, 0)
- Purple:
rgb(128, 0, 128)
- Green (Dark):
rgb(0, 128, 0)
- Teal:
rgb(0, 128, 128)
- Navy:
rgb(0, 0, 128)
- Maroon:
rgb(128, 0, 0)
Pastel Colors
- Pastel Yellow:
rgb(255, 255, 128)
- Pastel Pink:
rgb(255, 182, 193)
- Pastel Blue:
rgb(173, 216, 230)
- Pastel Green:
rgb(152, 251, 152)
Custom Colors
- Custom Reddish-Brown:
rgb(139, 69, 19)
- Custom Olive Green:
rgb(85, 107, 47)
- Custom Sky Blue:
rgb(135, 206, 235)
These are just a few examples, and you can create a wide range of colors by adjusting the intensity of the red, green, and blue components. Feel free to experiment with different values to achieve the desired color for your project.