Shades of Primrose #D4D797
Tints of Primrose #D4D797
RGB
CMYK
RGB Variations
Color information
#D4D797 (or 0xD4D797) is known color: Primrose. HEX triplet: D4, D7 and 97. RGB value is (212,215,151). Sum of RGB (Red+Green+Blue) = 212+215+151=578 (76% of max value = 765). Red value is 212 (83.20% from 255 or 36.68% from 578); Green value is 215 (84.38% from 255 or 37.20% from 578); Blue value is 151 (59.38% from 255 or 26.12% from 578); Max value from RGB is 215 - color contains mainly: green. Hex color #D4D797 is not a web safe color. Web safe color analog (approx): #CCCC99. Inversed color of #D4D797 is #2B2868. Grayscale: #CFCFCF. Windows color (decimal): -2828393 or 9951188. OLE color: 9951188.
HSL color Cylindrical-coordinate representation of color #D4D797: hue angle of 62.81º degrees, saturation: 0.44, lightness: 0.72%. HSV value (or HSB Brightness) of color is 0.84% and HSV saturation: 0.3%. Process color model (Four color, CMYK) of #D4D797 is Cyan = 0.01, Magento = 0, Yellow = 0.30 and Black (K on CMYK) = 0.16.
Color convert
| RGB | 212 | 215 | 151 | - |
| CMYK | 0.01 | 0 | 0.30 | 0.16 |
| HSL | 62.81º | 0.44% | 0.72% | - |
| HSV(B) | 62.81º | 0.3% | 0.84% | - |
| XYZ | 57.04 | 64.83 | 38.79 | - |
| YUV | 206.81 | 96.51 | 131.7 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 212 | 215 | 151 | 0.01 | 0 | 0.30 | 0.16 | 62.81 | 0.44 | 0.72 |
| Hex | D4 | D7 | 97 | 1 | 0 | 1E | 10 | 3F | 2C | 48 |
| Octal | 324 | 327 | 227 | 1 | 0 | 36 | 20 | 77 | 54 | 110 |
| Binary | 11010100 | 11010111 | 10010111 | 1 | 0 | 11110 | 10000 | 111111 | 101100 | 1001000 |
Color Harmonies of #D4D797
Complementary color
Monochromatic Colors of #D4D797
Black with #D4D797
Text Example
Text Example
White with #D4D797
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D4D797; }
p { color: rgb(212,215,151); }
H1.HeaderClassName
{
color: #D4D797;
}
.AnyTagClassName
{
color: #D4D797;
}
</style>
background-color css
<style>
a { background-color: #D4D797; }
a { background-color: rgb(212,215,151); }
div.DivClassName
{
background-color: #D4D797;
}
.BgClassName
{
background-color: #D4D797;
}
</style>
border-color css
<style>
span { border-color: #D4D797; }
span { border-color: rgb(212,215,151); }
td.TdClassName
{
border-color: #D4D797;
}
.TagClassName
{
border-color: #D4D797;
}
</style>