Shades of Midnight Blue #21167E
Tints of Midnight Blue #21167E
RGB
CMYK
RGB Variations
Color information
#21167E (or 0x21167E) is known color: Midnight Blue. HEX triplet: 21, 16 and 7E. RGB value is (33,22,126). Sum of RGB (Red+Green+Blue) = 33+22+126=181 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.23% from 181); Green value is 22 (8.98% from 255 or 12.15% from 181); Blue value is 126 (49.61% from 255 or 69.61% from 181); Max value from RGB is 126 - color contains mainly: blue. Hex color #21167E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21167E is #DEE981. Grayscale: #242424. Windows color (decimal): -14608770 or 8263201. OLE color: 8263201.
HSL color Cylindrical-coordinate representation of color #21167E: hue angle of 246.35º degrees, saturation: 0.7, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #21167E is Cyan = 0.74, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 33 | 22 | 126 | - |
| CMYK | 0.74 | 0.83 | 0 | 0.51 |
| HSL | 246.35º | 0.7% | 0.29% | - |
| HSV(B) | 246.35º | 0.83% | 0.49% | - |
| XYZ | 4.68 | 2.4 | 19.96 | - |
| YUV | 37.15 | 178.14 | 125.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 22 | 126 | 0.74 | 0.83 | 0 | 0.51 | 246.35 | 0.7 | 0.29 |
| Hex | 21 | 16 | 7E | 4A | 53 | 0 | 33 | F6 | 46 | 1D |
| Octal | 41 | 26 | 176 | 112 | 123 | 0 | 63 | 366 | 106 | 35 |
| Binary | 100001 | 10110 | 1111110 | 1001010 | 1010011 | 0 | 110011 | 11110110 | 1000110 | 11101 |
Color Harmonies of #21167E
Complementary color
Monochromatic Colors of #21167E
Black with #21167E
Text Example
Text Example
White with #21167E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21167E; }
p { color: rgb(33,22,126); }
H1.HeaderClassName
{
color: #21167E;
}
.AnyTagClassName
{
color: #21167E;
}
</style>
background-color css
<style>
a { background-color: #21167E; }
a { background-color: rgb(33,22,126); }
div.DivClassName
{
background-color: #21167E;
}
.BgClassName
{
background-color: #21167E;
}
</style>
border-color css
<style>
span { border-color: #21167E; }
span { border-color: rgb(33,22,126); }
td.TdClassName
{
border-color: #21167E;
}
.TagClassName
{
border-color: #21167E;
}
</style>