Shades of Primrose #D4D798
Tints of Primrose #D4D798
RGB
CMYK
RGB Variations
Color information
#D4D798 (or 0xD4D798) is known color: Primrose. HEX triplet: D4, D7 and 98. RGB value is (212,215,152). Sum of RGB (Red+Green+Blue) = 212+215+152=579 (76% of max value = 765). Red value is 212 (83.20% from 255 or 36.61% from 579); Green value is 215 (84.38% from 255 or 37.13% from 579); Blue value is 152 (59.77% from 255 or 26.25% from 579); Max value from RGB is 215 - color contains mainly: green. Hex color #D4D798 is not a web safe color. Web safe color analog (approx): #CCCC99. Inversed color of #D4D798 is #2B2867. Grayscale: #CFCFCF. Windows color (decimal): -2828392 or 10016724. OLE color: 10016724.
HSL color Cylindrical-coordinate representation of color #D4D798: hue angle of 62.86º degrees, saturation: 0.44, lightness: 0.72%. HSV value (or HSB Brightness) of color is 0.84% and HSV saturation: 0.29%. Process color model (Four color, CMYK) of #D4D798 is Cyan = 0.01, Magento = 0, Yellow = 0.29 and Black (K on CMYK) = 0.16.
Color convert
| RGB | 212 | 215 | 152 | - |
| CMYK | 0.01 | 0 | 0.29 | 0.16 |
| HSL | 62.86º | 0.44% | 0.72% | - |
| HSV(B) | 62.86º | 0.29% | 0.84% | - |
| XYZ | 57.12 | 64.86 | 39.22 | - |
| YUV | 206.92 | 97.01 | 131.62 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 212 | 215 | 152 | 0.01 | 0 | 0.29 | 0.16 | 62.86 | 0.44 | 0.72 |
| Hex | D4 | D7 | 98 | 1 | 0 | 1D | 10 | 3F | 2C | 48 |
| Octal | 324 | 327 | 230 | 1 | 0 | 35 | 20 | 77 | 54 | 110 |
| Binary | 11010100 | 11010111 | 10011000 | 1 | 0 | 11101 | 10000 | 111111 | 101100 | 1001000 |
Color Harmonies of #D4D798
Complementary color
Monochromatic Colors of #D4D798
Black with #D4D798
Text Example
Text Example
White with #D4D798
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D4D798; }
p { color: rgb(212,215,152); }
H1.HeaderClassName
{
color: #D4D798;
}
.AnyTagClassName
{
color: #D4D798;
}
</style>
background-color css
<style>
a { background-color: #D4D798; }
a { background-color: rgb(212,215,152); }
div.DivClassName
{
background-color: #D4D798;
}
.BgClassName
{
background-color: #D4D798;
}
</style>
border-color css
<style>
span { border-color: #D4D798; }
span { border-color: rgb(212,215,152); }
td.TdClassName
{
border-color: #D4D798;
}
.TagClassName
{
border-color: #D4D798;
}
</style>