Shades of Midnight Blue #221172
Tints of Midnight Blue #221172
RGB
CMYK
RGB Variations
Color information
#221172 (or 0x221172) is known color: Midnight Blue. HEX triplet: 22, 11 and 72. RGB value is (34,17,114). Sum of RGB (Red+Green+Blue) = 34+17+114=165 (21% of max value = 765). Red value is 34 (13.67% from 255 or 20.61% from 165); Green value is 17 (7.03% from 255 or 10.30% from 165); Blue value is 114 (44.92% from 255 or 69.09% from 165); Max value from RGB is 114 - color contains mainly: blue. Hex color #221172 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #221172 is #DDEE8D. Grayscale: #202020. Windows color (decimal): -14544526 or 7475490. OLE color: 7475490.
HSL color Cylindrical-coordinate representation of color #221172: hue angle of 250.52º degrees, saturation: 0.74, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #221172 is Cyan = 0.70, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 34 | 17 | 114 | - |
| CMYK | 0.70 | 0.85 | 0 | 0.55 |
| HSL | 250.52º | 0.74% | 0.26% | - |
| HSV(B) | 250.52º | 0.85% | 0.45% | - |
| XYZ | 3.9 | 1.96 | 16.09 | - |
| YUV | 33.14 | 173.63 | 128.61 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 17 | 114 | 0.70 | 0.85 | 0 | 0.55 | 250.52 | 0.74 | 0.26 |
| Hex | 22 | 11 | 72 | 46 | 55 | 0 | 37 | FB | 4A | 1A |
| Octal | 42 | 21 | 162 | 106 | 125 | 0 | 67 | 373 | 112 | 32 |
| Binary | 100010 | 10001 | 1110010 | 1000110 | 1010101 | 0 | 110111 | 11111011 | 1001010 | 11010 |
Color Harmonies of #221172
Complementary color
Monochromatic Colors of #221172
Black with #221172
Text Example
Text Example
White with #221172
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221172; }
p { color: rgb(34,17,114); }
H1.HeaderClassName
{
color: #221172;
}
.AnyTagClassName
{
color: #221172;
}
</style>
background-color css
<style>
a { background-color: #221172; }
a { background-color: rgb(34,17,114); }
div.DivClassName
{
background-color: #221172;
}
.BgClassName
{
background-color: #221172;
}
</style>
border-color css
<style>
span { border-color: #221172; }
span { border-color: rgb(34,17,114); }
td.TdClassName
{
border-color: #221172;
}
.TagClassName
{
border-color: #221172;
}
</style>