Shades of Midnight Blue #21115F
Tints of Midnight Blue #21115F
RGB
CMYK
RGB Variations
Color information
#21115F (or 0x21115F) is known color: Midnight Blue. HEX triplet: 21, 11 and 5F. RGB value is (33,17,95). Sum of RGB (Red+Green+Blue) = 33+17+95=145 (19% of max value = 765). Red value is 33 (13.28% from 255 or 22.76% from 145); Green value is 17 (7.03% from 255 or 11.72% from 145); Blue value is 95 (37.5% from 255 or 65.52% from 145); Max value from RGB is 95 - color contains mainly: blue. Hex color #21115F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21115F is #DEEEA0. Grayscale: #1E1E1E. Windows color (decimal): -14610081 or 6230305. OLE color: 6230305.
HSL color Cylindrical-coordinate representation of color #21115F: hue angle of 252.31º degrees, saturation: 0.7, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #21115F is Cyan = 0.65, Magento = 0.82, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 33 | 17 | 95 | - |
| CMYK | 0.65 | 0.82 | 0 | 0.63 |
| HSL | 252.31º | 0.7% | 0.22% | - |
| HSV(B) | 252.31º | 0.82% | 0.37% | - |
| XYZ | 2.89 | 1.55 | 10.97 | - |
| YUV | 30.68 | 164.3 | 129.66 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 17 | 95 | 0.65 | 0.82 | 0 | 0.63 | 252.31 | 0.7 | 0.22 |
| Hex | 21 | 11 | 5F | 41 | 52 | 0 | 3F | FC | 46 | 16 |
| Octal | 41 | 21 | 137 | 101 | 122 | 0 | 77 | 374 | 106 | 26 |
| Binary | 100001 | 10001 | 1011111 | 1000001 | 1010010 | 0 | 111111 | 11111100 | 1000110 | 10110 |
Color Harmonies of #21115F
Complementary color
Monochromatic Colors of #21115F
Black with #21115F
Text Example
Text Example
White with #21115F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21115F; }
p { color: rgb(33,17,95); }
H1.HeaderClassName
{
color: #21115F;
}
.AnyTagClassName
{
color: #21115F;
}
</style>
background-color css
<style>
a { background-color: #21115F; }
a { background-color: rgb(33,17,95); }
div.DivClassName
{
background-color: #21115F;
}
.BgClassName
{
background-color: #21115F;
}
</style>
border-color css
<style>
span { border-color: #21115F; }
span { border-color: rgb(33,17,95); }
td.TdClassName
{
border-color: #21115F;
}
.TagClassName
{
border-color: #21115F;
}
</style>