Shades of Midnight #212C40
Tints of Midnight #212C40
RGB
CMYK
RGB Variations
Color information
#212C40 (or 0x212C40) is known color: Midnight. HEX triplet: 21, 2C and 40. RGB value is (33,44,64). Sum of RGB (Red+Green+Blue) = 33+44+64=141 (18% of max value = 765). Red value is 33 (13.28% from 255 or 23.40% from 141); Green value is 44 (17.58% from 255 or 31.21% from 141); Blue value is 64 (25.39% from 255 or 45.39% from 141); Max value from RGB is 64 - color contains mainly: blue. Hex color #212C40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #212C40 is #DED3BF. Grayscale: #2A2A2A. Windows color (decimal): -14603200 or 4205601. OLE color: 4205601.
HSL color Cylindrical-coordinate representation of color #212C40: hue angle of 218.71º 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 #212C40 is Cyan = 0.48, Magento = 0.31, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 33 | 44 | 64 | - |
| CMYK | 0.48 | 0.31 | 0 | 0.75 |
| HSL | 218.71º | 0.32% | 0.19% | - |
| HSV(B) | 218.71º | 0.48% | 0.25% | - |
| XYZ | 2.45 | 2.49 | 5.2 | - |
| YUV | 42.99 | 139.86 | 120.87 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 44 | 64 | 0.48 | 0.31 | 0 | 0.75 | 218.71 | 0.32 | 0.19 |
| Hex | 21 | 2C | 40 | 30 | 1F | 0 | 4B | DB | 20 | 13 |
| Octal | 41 | 54 | 100 | 60 | 37 | 0 | 113 | 333 | 40 | 23 |
| Binary | 100001 | 101100 | 1000000 | 110000 | 11111 | 0 | 1001011 | 11011011 | 100000 | 10011 |
Color Harmonies of #212C40
Complementary color
Monochromatic Colors of #212C40
Black with #212C40
Text Example
Text Example
White with #212C40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212C40; }
p { color: rgb(33,44,64); }
H1.HeaderClassName
{
color: #212C40;
}
.AnyTagClassName
{
color: #212C40;
}
</style>
background-color css
<style>
a { background-color: #212C40; }
a { background-color: rgb(33,44,64); }
div.DivClassName
{
background-color: #212C40;
}
.BgClassName
{
background-color: #212C40;
}
</style>
border-color css
<style>
span { border-color: #212C40; }
span { border-color: rgb(33,44,64); }
td.TdClassName
{
border-color: #212C40;
}
.TagClassName
{
border-color: #212C40;
}
</style>