Shades of Midnight Blue #21156D
Tints of Midnight Blue #21156D
RGB
CMYK
RGB Variations
Color information
#21156D (or 0x21156D) is known color: Midnight Blue. HEX triplet: 21, 15 and 6D. RGB value is (33,21,109). Sum of RGB (Red+Green+Blue) = 33+21+109=163 (21% of max value = 765). Red value is 33 (13.28% from 255 or 20.25% from 163); Green value is 21 (8.59% from 255 or 12.88% from 163); Blue value is 109 (42.97% from 255 or 66.87% from 163); Max value from RGB is 109 - color contains mainly: blue. Hex color #21156D is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21156D is #DEEA92. Grayscale: #222222. Windows color (decimal): -14609043 or 7148833. OLE color: 7148833.
HSL color Cylindrical-coordinate representation of color #21156D: hue angle of 248.18º degrees, saturation: 0.68, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #21156D is Cyan = 0.70, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 33 | 21 | 109 | - |
| CMYK | 0.70 | 0.81 | 0 | 0.57 |
| HSL | 248.18º | 0.68% | 0.25% | - |
| HSV(B) | 248.18º | 0.81% | 0.43% | - |
| XYZ | 3.66 | 1.96 | 14.65 | - |
| YUV | 34.62 | 169.98 | 126.84 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 21 | 109 | 0.70 | 0.81 | 0 | 0.57 | 248.18 | 0.68 | 0.25 |
| Hex | 21 | 15 | 6D | 46 | 51 | 0 | 39 | F8 | 44 | 19 |
| Octal | 41 | 25 | 155 | 106 | 121 | 0 | 71 | 370 | 104 | 31 |
| Binary | 100001 | 10101 | 1101101 | 1000110 | 1010001 | 0 | 111001 | 11111000 | 1000100 | 11001 |
Color Harmonies of #21156D
Complementary color
Monochromatic Colors of #21156D
Black with #21156D
Text Example
Text Example
White with #21156D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21156D; }
p { color: rgb(33,21,109); }
H1.HeaderClassName
{
color: #21156D;
}
.AnyTagClassName
{
color: #21156D;
}
</style>
background-color css
<style>
a { background-color: #21156D; }
a { background-color: rgb(33,21,109); }
div.DivClassName
{
background-color: #21156D;
}
.BgClassName
{
background-color: #21156D;
}
</style>
border-color css
<style>
span { border-color: #21156D; }
span { border-color: rgb(33,21,109); }
td.TdClassName
{
border-color: #21156D;
}
.TagClassName
{
border-color: #21156D;
}
</style>