Shades of Midnight #213040
Tints of Midnight #213040
RGB
CMYK
RGB Variations
Color information
#213040 (or 0x213040) is known color: Midnight. HEX triplet: 21, 30 and 40. RGB value is (33,48,64). Sum of RGB (Red+Green+Blue) = 33+48+64=145 (19% of max value = 765). Red value is 33 (13.28% from 255 or 22.76% from 145); Green value is 48 (19.14% from 255 or 33.10% from 145); Blue value is 64 (25.39% from 255 or 44.14% from 145); Max value from RGB is 64 - color contains mainly: blue. Hex color #213040 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #213040 is #DECFBF. Grayscale: #2D2D2D. Windows color (decimal): -14602176 or 4206625. OLE color: 4206625.
HSL color Cylindrical-coordinate representation of color #213040: hue angle of 210.97º 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 #213040 is Cyan = 0.48, Magento = 0.25, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 33 | 48 | 64 | - |
| CMYK | 0.48 | 0.25 | 0 | 0.75 |
| HSL | 210.97º | 0.32% | 0.19% | - |
| HSV(B) | 210.97º | 0.48% | 0.25% | - |
| XYZ | 2.61 | 2.81 | 5.25 | - |
| YUV | 45.34 | 138.53 | 119.2 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 48 | 64 | 0.48 | 0.25 | 0 | 0.75 | 210.97 | 0.32 | 0.19 |
| Hex | 21 | 30 | 40 | 30 | 19 | 0 | 4B | D3 | 20 | 13 |
| Octal | 41 | 60 | 100 | 60 | 31 | 0 | 113 | 323 | 40 | 23 |
| Binary | 100001 | 110000 | 1000000 | 110000 | 11001 | 0 | 1001011 | 11010011 | 100000 | 10011 |
Color Harmonies of #213040
Complementary color
Monochromatic Colors of #213040
Black with #213040
Text Example
Text Example
White with #213040
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #213040; }
p { color: rgb(33,48,64); }
H1.HeaderClassName
{
color: #213040;
}
.AnyTagClassName
{
color: #213040;
}
</style>
background-color css
<style>
a { background-color: #213040; }
a { background-color: rgb(33,48,64); }
div.DivClassName
{
background-color: #213040;
}
.BgClassName
{
background-color: #213040;
}
</style>
border-color css
<style>
span { border-color: #213040; }
span { border-color: rgb(33,48,64); }
td.TdClassName
{
border-color: #213040;
}
.TagClassName
{
border-color: #213040;
}
</style>