Shades of Midnight #212E42
Tints of Midnight #212E42
RGB
CMYK
RGB Variations
Color information
#212E42 (or 0x212E42) is known color: Midnight. HEX triplet: 21, 2E and 42. RGB value is (33,46,66). Sum of RGB (Red+Green+Blue) = 33+46+66=145 (19% of max value = 765). Red value is 33 (13.28% from 255 or 22.76% from 145); Green value is 46 (18.36% from 255 or 31.72% from 145); Blue value is 66 (26.17% from 255 or 45.52% from 145); Max value from RGB is 66 - color contains mainly: blue. Hex color #212E42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #212E42 is #DED1BD. Grayscale: #2C2C2C. Windows color (decimal): -14602686 or 4337185. OLE color: 4337185.
HSL color Cylindrical-coordinate representation of color #212E42: hue angle of 216.36º degrees, saturation: 0.33, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.5%. Process color model (Four color, CMYK) of #212E42 is Cyan = 0.5, Magento = 0.30, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 33 | 46 | 66 | - |
| CMYK | 0.5 | 0.30 | 0 | 0.74 |
| HSL | 216.36º | 0.33% | 0.19% | - |
| HSV(B) | 216.36º | 0.5% | 0.26% | - |
| XYZ | 2.59 | 2.67 | 5.53 | - |
| YUV | 44.39 | 140.19 | 119.87 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 46 | 66 | 0.5 | 0.30 | 0 | 0.74 | 216.36 | 0.33 | 0.19 |
| Hex | 21 | 2E | 42 | 32 | 1E | 0 | 4A | D8 | 21 | 13 |
| Octal | 41 | 56 | 102 | 62 | 36 | 0 | 112 | 330 | 41 | 23 |
| Binary | 100001 | 101110 | 1000010 | 110010 | 11110 | 0 | 1001010 | 11011000 | 100001 | 10011 |
Color Harmonies of #212E42
Complementary color
Monochromatic Colors of #212E42
Black with #212E42
Text Example
Text Example
White with #212E42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #212E42; }
p { color: rgb(33,46,66); }
H1.HeaderClassName
{
color: #212E42;
}
.AnyTagClassName
{
color: #212E42;
}
</style>
background-color css
<style>
a { background-color: #212E42; }
a { background-color: rgb(33,46,66); }
div.DivClassName
{
background-color: #212E42;
}
.BgClassName
{
background-color: #212E42;
}
</style>
border-color css
<style>
span { border-color: #212E42; }
span { border-color: rgb(33,46,66); }
td.TdClassName
{
border-color: #212E42;
}
.TagClassName
{
border-color: #212E42;
}
</style>