Shades of Midnight #212D40
Tints of Midnight #212D40
RGB
CMYK
RGB Variations
Color information
#212D40 (or 0x212D40) is known color: Midnight. HEX triplet: 21, 2D and 40. RGB value is (33,45,64). Sum of RGB (Red+Green+Blue) = 33+45+64=142 (18% of max value = 765). Red value is 33 (13.28% from 255 or 23.24% from 142); Green value is 45 (17.97% from 255 or 31.69% from 142); Blue value is 64 (25.39% from 255 or 45.07% from 142); Max value from RGB is 64 - color contains mainly: blue. Hex color #212D40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #212D40 is #DED2BF. Grayscale: #2B2B2B. Windows color (decimal): -14602944 or 4205857. OLE color: 4205857.
HSL color Cylindrical-coordinate representation of color #212D40: hue angle of 216.77º degrees, saturation: 0.32, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.48%. Process color model (Four color, CMYK) of #212D40 is Cyan = 0.48, Magento = 0.30, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 33 | 45 | 64 | - |
| CMYK | 0.48 | 0.30 | 0 | 0.75 |
| HSL | 216.77º | 0.32% | 0.19% | - |
| HSV(B) | 216.77º | 0.48% | 0.25% | - |
| XYZ | 2.49 | 2.57 | 5.22 | - |
| YUV | 43.58 | 139.52 | 120.46 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 45 | 64 | 0.48 | 0.30 | 0 | 0.75 | 216.77 | 0.32 | 0.19 |
| Hex | 21 | 2D | 40 | 30 | 1E | 0 | 4B | D9 | 20 | 13 |
| Octal | 41 | 55 | 100 | 60 | 36 | 0 | 113 | 331 | 40 | 23 |
| Binary | 100001 | 101101 | 1000000 | 110000 | 11110 | 0 | 1001011 | 11011001 | 100000 | 10011 |
Color Harmonies of #212D40
Complementary color
Monochromatic Colors of #212D40
Black with #212D40
Text Example
Text Example
White with #212D40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212D40; }
p { color: rgb(33,45,64); }
H1.HeaderClassName
{
color: #212D40;
}
.AnyTagClassName
{
color: #212D40;
}
</style>
background-color css
<style>
a { background-color: #212D40; }
a { background-color: rgb(33,45,64); }
div.DivClassName
{
background-color: #212D40;
}
.BgClassName
{
background-color: #212D40;
}
</style>
border-color css
<style>
span { border-color: #212D40; }
span { border-color: rgb(33,45,64); }
td.TdClassName
{
border-color: #212D40;
}
.TagClassName
{
border-color: #212D40;
}
</style>