Shades of Midnight #212F40
Tints of Midnight #212F40
RGB
CMYK
RGB Variations
Color information
#212F40 (or 0x212F40) is known color: Midnight. HEX triplet: 21, 2F and 40. RGB value is (33,47,64). Sum of RGB (Red+Green+Blue) = 33+47+64=144 (19% of max value = 765). Red value is 33 (13.28% from 255 or 22.92% from 144); Green value is 47 (18.75% from 255 or 32.64% from 144); Blue value is 64 (25.39% from 255 or 44.44% from 144); Max value from RGB is 64 - color contains mainly: blue. Hex color #212F40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #212F40 is #DED0BF. Grayscale: #2C2C2C. Windows color (decimal): -14602432 or 4206369. OLE color: 4206369.
HSL color Cylindrical-coordinate representation of color #212F40: hue angle of 212.9º 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 #212F40 is Cyan = 0.48, Magento = 0.27, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 33 | 47 | 64 | - |
| CMYK | 0.48 | 0.27 | 0 | 0.75 |
| HSL | 212.9º | 0.32% | 0.19% | - |
| HSV(B) | 212.9º | 0.48% | 0.25% | - |
| XYZ | 2.57 | 2.73 | 5.24 | - |
| YUV | 44.75 | 138.86 | 119.62 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 47 | 64 | 0.48 | 0.27 | 0 | 0.75 | 212.9 | 0.32 | 0.19 |
| Hex | 21 | 2F | 40 | 30 | 1B | 0 | 4B | D5 | 20 | 13 |
| Octal | 41 | 57 | 100 | 60 | 33 | 0 | 113 | 325 | 40 | 23 |
| Binary | 100001 | 101111 | 1000000 | 110000 | 11011 | 0 | 1001011 | 11010101 | 100000 | 10011 |
Color Harmonies of #212F40
Complementary color
Monochromatic Colors of #212F40
Black with #212F40
Text Example
Text Example
White with #212F40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212F40; }
p { color: rgb(33,47,64); }
H1.HeaderClassName
{
color: #212F40;
}
.AnyTagClassName
{
color: #212F40;
}
</style>
background-color css
<style>
a { background-color: #212F40; }
a { background-color: rgb(33,47,64); }
div.DivClassName
{
background-color: #212F40;
}
.BgClassName
{
background-color: #212F40;
}
</style>
border-color css
<style>
span { border-color: #212F40; }
span { border-color: rgb(33,47,64); }
td.TdClassName
{
border-color: #212F40;
}
.TagClassName
{
border-color: #212F40;
}
</style>