Shades of Midnight Blue #21167F
Tints of Midnight Blue #21167F
RGB
CMYK
RGB Variations
Color information
#21167F (or 0x21167F) is known color: Midnight Blue. HEX triplet: 21, 16 and 7F. RGB value is (33,22,127). Sum of RGB (Red+Green+Blue) = 33+22+127=182 (24% of max value = 765). Red value is 33 (13.28% from 255 or 18.13% from 182); Green value is 22 (8.98% from 255 or 12.09% from 182); Blue value is 127 (50% from 255 or 69.78% from 182); Max value from RGB is 127 - color contains mainly: blue. Hex color #21167F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21167F is #DEE980. Grayscale: #242424. Windows color (decimal): -14608769 or 8328737. OLE color: 8328737.
HSL color Cylindrical-coordinate representation of color #21167F: hue angle of 246.29º degrees, saturation: 0.7, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #21167F is Cyan = 0.74, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 33 | 22 | 127 | - |
| CMYK | 0.74 | 0.83 | 0 | 0.50 |
| HSL | 246.29º | 0.7% | 0.29% | - |
| HSV(B) | 246.29º | 0.83% | 0.5% | - |
| XYZ | 4.74 | 2.43 | 20.3 | - |
| YUV | 37.26 | 178.64 | 124.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 22 | 127 | 0.74 | 0.83 | 0 | 0.50 | 246.29 | 0.7 | 0.29 |
| Hex | 21 | 16 | 7F | 4A | 53 | 0 | 32 | F6 | 46 | 1D |
| Octal | 41 | 26 | 177 | 112 | 123 | 0 | 62 | 366 | 106 | 35 |
| Binary | 100001 | 10110 | 1111111 | 1001010 | 1010011 | 0 | 110010 | 11110110 | 1000110 | 11101 |
Color Harmonies of #21167F
Complementary color
Monochromatic Colors of #21167F
Black with #21167F
Text Example
Text Example
White with #21167F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21167F; }
p { color: rgb(33,22,127); }
H1.HeaderClassName
{
color: #21167F;
}
.AnyTagClassName
{
color: #21167F;
}
</style>
background-color css
<style>
a { background-color: #21167F; }
a { background-color: rgb(33,22,127); }
div.DivClassName
{
background-color: #21167F;
}
.BgClassName
{
background-color: #21167F;
}
</style>
border-color css
<style>
span { border-color: #21167F; }
span { border-color: rgb(33,22,127); }
td.TdClassName
{
border-color: #21167F;
}
.TagClassName
{
border-color: #21167F;
}
</style>