Shades of Midnight Blue #22157A
Tints of Midnight Blue #22157A
RGB
CMYK
RGB Variations
Color information
#22157A (or 0x22157A) is known color: Midnight Blue. HEX triplet: 22, 15 and 7A. RGB value is (34,21,122). Sum of RGB (Red+Green+Blue) = 34+21+122=177 (23% of max value = 765). Red value is 34 (13.67% from 255 or 19.21% from 177); Green value is 21 (8.59% from 255 or 11.86% from 177); Blue value is 122 (48.05% from 255 or 68.93% from 177); Max value from RGB is 122 - color contains mainly: blue. Hex color #22157A is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #22157A is #DDEA85. Grayscale: #242424. Windows color (decimal): -14543494 or 8000802. OLE color: 8000802.
HSL color Cylindrical-coordinate representation of color #22157A: hue angle of 247.72º degrees, saturation: 0.71, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #22157A is Cyan = 0.72, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 34 | 21 | 122 | - |
| CMYK | 0.72 | 0.83 | 0 | 0.52 |
| HSL | 247.72º | 0.71% | 0.28% | - |
| HSV(B) | 247.72º | 0.83% | 0.48% | - |
| XYZ | 4.44 | 2.28 | 18.62 | - |
| YUV | 36.4 | 176.31 | 126.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 21 | 122 | 0.72 | 0.83 | 0 | 0.52 | 247.72 | 0.71 | 0.28 |
| Hex | 22 | 15 | 7A | 48 | 53 | 0 | 34 | F8 | 47 | 1C |
| Octal | 42 | 25 | 172 | 110 | 123 | 0 | 64 | 370 | 107 | 34 |
| Binary | 100010 | 10101 | 1111010 | 1001000 | 1010011 | 0 | 110100 | 11111000 | 1000111 | 11100 |
Color Harmonies of #22157A
Complementary color
Monochromatic Colors of #22157A
Black with #22157A
Text Example
Text Example
White with #22157A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #22157A; }
p { color: rgb(34,21,122); }
H1.HeaderClassName
{
color: #22157A;
}
.AnyTagClassName
{
color: #22157A;
}
</style>
background-color css
<style>
a { background-color: #22157A; }
a { background-color: rgb(34,21,122); }
div.DivClassName
{
background-color: #22157A;
}
.BgClassName
{
background-color: #22157A;
}
</style>
border-color css
<style>
span { border-color: #22157A; }
span { border-color: rgb(34,21,122); }
td.TdClassName
{
border-color: #22157A;
}
.TagClassName
{
border-color: #22157A;
}
</style>