Color Converter
Quickly convert between RGB, HEX, and other color formats with support for common color queries and live previews
#
Color Code Table
Color Name | RGB Value | HEX Code | Color Preview |
---|---|---|---|
白色 | RGB(255, 255, 255) | #FFFFFF | |
黑色 | RGB(0, 0, 0) | #000000 | |
红色 | RGB(255, 0, 0) | #FF0000 | |
绿色 | RGB(0, 128, 0) | #008000 | |
蓝色 | RGB(0, 0, 255) | #0000FF | |
黄色 | RGB(255, 255, 0) | #FFFF00 | |
青色 | RGB(0, 128, 128) | #008080 | |
紫色 | RGB(238, 130, 238) | #EE82EE | |
灰色 | RGB(128, 128, 128) | #808080 | |
橙色 | RGB(255, 165, 0) | #FFA500 | |
粉色 | RGB(255, 192, 203) | #FFC0CB | |
棕色 | RGB(165, 42, 42) | #A52A2A |
Color Basics
In the digital world, colors are represented using models like RGB (Red, Green, Blue) and HEX codes. RGB is an additive model that combines red, green, and blue light at varying intensities (0-255) to create colors, e.g., pure red is RGB(255,0,0). HEX codes are a hexadecimal representation of RGB values, commonly used in web design and CSS.
RGB vs. CMYK
RGB (Red, Green, Blue) is an additive model for digital displays, while CMYK (Cyan, Magenta, Yellow, Black) is a subtractive model for printing.
- RGB is for digital screens; CMYK is for print
- RGB is additive (adds light from black); CMYK is subtractive (absorbs light from white)
- RGB offers a wider color gamut than CMYK
- Converting RGB to CMYK may dull vibrant colors