Shades of Midnight #213148
Tints of Midnight #213148
RGB
CMYK
RGB Variations
Color information
#213148 (or 0x213148) is known color: Midnight. HEX triplet: 21, 31 and 48. RGB value is (33,49,72). Sum of RGB (Red+Green+Blue) = 33+49+72=154 (20% of max value = 765). Red value is 33 (13.28% from 255 or 21.43% from 154); Green value is 49 (19.53% from 255 or 31.82% from 154); Blue value is 72 (28.52% from 255 or 46.75% from 154); Max value from RGB is 72 - color contains mainly: blue. Hex color #213148 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #213148 is #DECEB7. Grayscale: #2E2E2E. Windows color (decimal): -14601912 or 4731169. OLE color: 4731169.
HSL color Cylindrical-coordinate representation of color #213148: hue angle of 215.38º degrees, saturation: 0.37, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.54%. Process color model (Four color, CMYK) of #213148 is Cyan = 0.54, Magento = 0.32, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 33 | 49 | 72 | - |
| CMYK | 0.54 | 0.32 | 0 | 0.72 |
| HSL | 215.38º | 0.37% | 0.21% | - |
| HSV(B) | 215.38º | 0.54% | 0.28% | - |
| XYZ | 2.9 | 2.99 | 6.56 | - |
| YUV | 46.84 | 142.2 | 118.13 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 49 | 72 | 0.54 | 0.32 | 0 | 0.72 | 215.38 | 0.37 | 0.21 |
| Hex | 21 | 31 | 48 | 36 | 20 | 0 | 48 | D7 | 25 | 15 |
| Octal | 41 | 61 | 110 | 66 | 40 | 0 | 110 | 327 | 45 | 25 |
| Binary | 100001 | 110001 | 1001000 | 110110 | 100000 | 0 | 1001000 | 11010111 | 100101 | 10101 |
Color Harmonies of #213148
Complementary color
Monochromatic Colors of #213148
Black with #213148
Text Example
Text Example
White with #213148
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #213148; }
p { color: rgb(33,49,72); }
H1.HeaderClassName
{
color: #213148;
}
.AnyTagClassName
{
color: #213148;
}
</style>
background-color css
<style>
a { background-color: #213148; }
a { background-color: rgb(33,49,72); }
div.DivClassName
{
background-color: #213148;
}
.BgClassName
{
background-color: #213148;
}
</style>
border-color css
<style>
span { border-color: #213148; }
span { border-color: rgb(33,49,72); }
td.TdClassName
{
border-color: #213148;
}
.TagClassName
{
border-color: #213148;
}
</style>