Shades of Midnight #213142
Tints of Midnight #213142
RGB
CMYK
RGB Variations
Color information
#213142 (or 0x213142) is known color: Midnight. HEX triplet: 21, 31 and 42. RGB value is (33,49,66). Sum of RGB (Red+Green+Blue) = 33+49+66=148 (19% of max value = 765). Red value is 33 (13.28% from 255 or 22.30% from 148); Green value is 49 (19.53% from 255 or 33.11% from 148); Blue value is 66 (26.17% from 255 or 44.59% from 148); Max value from RGB is 66 - color contains mainly: blue. Hex color #213142 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #213142 is #DECEBD. Grayscale: #2E2E2E. Windows color (decimal): -14601918 or 4337953. OLE color: 4337953.
HSL color Cylindrical-coordinate representation of color #213142: hue angle of 210.91º 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 #213142 is Cyan = 0.5, Magento = 0.26, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 33 | 49 | 66 | - |
| CMYK | 0.5 | 0.26 | 0 | 0.74 |
| HSL | 210.91º | 0.33% | 0.19% | - |
| HSV(B) | 210.91º | 0.5% | 0.26% | - |
| XYZ | 2.71 | 2.91 | 5.57 | - |
| YUV | 46.15 | 139.2 | 118.62 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 49 | 66 | 0.5 | 0.26 | 0 | 0.74 | 210.91 | 0.33 | 0.19 |
| Hex | 21 | 31 | 42 | 32 | 1A | 0 | 4A | D3 | 21 | 13 |
| Octal | 41 | 61 | 102 | 62 | 32 | 0 | 112 | 323 | 41 | 23 |
| Binary | 100001 | 110001 | 1000010 | 110010 | 11010 | 0 | 1001010 | 11010011 | 100001 | 10011 |
Color Harmonies of #213142
Complementary color
Monochromatic Colors of #213142
Black with #213142
Text Example
Text Example
White with #213142
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #213142; }
p { color: rgb(33,49,66); }
H1.HeaderClassName
{
color: #213142;
}
.AnyTagClassName
{
color: #213142;
}
</style>
background-color css
<style>
a { background-color: #213142; }
a { background-color: rgb(33,49,66); }
div.DivClassName
{
background-color: #213142;
}
.BgClassName
{
background-color: #213142;
}
</style>
border-color css
<style>
span { border-color: #213142; }
span { border-color: rgb(33,49,66); }
td.TdClassName
{
border-color: #213142;
}
.TagClassName
{
border-color: #213142;
}
</style>