Shades of Midnight Blue #22157F
Tints of Midnight Blue #22157F
RGB
CMYK
RGB Variations
Color information
#22157F (or 0x22157F) is known color: Midnight Blue. HEX triplet: 22, 15 and 7F. RGB value is (34,21,127). Sum of RGB (Red+Green+Blue) = 34+21+127=182 (24% of max value = 765). Red value is 34 (13.67% from 255 or 18.68% from 182); Green value is 21 (8.59% from 255 or 11.54% 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 #22157F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #22157F is #DDEA80. Grayscale: #242424. Windows color (decimal): -14543489 or 8328482. OLE color: 8328482.
HSL color Cylindrical-coordinate representation of color #22157F: hue angle of 247.36º degrees, saturation: 0.72, 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 #22157F is Cyan = 0.73, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 34 | 21 | 127 | - |
| CMYK | 0.73 | 0.83 | 0 | 0.50 |
| HSL | 247.36º | 0.72% | 0.29% | - |
| HSV(B) | 247.36º | 0.83% | 0.5% | - |
| XYZ | 4.76 | 2.41 | 20.29 | - |
| YUV | 36.97 | 178.81 | 125.88 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 21 | 127 | 0.73 | 0.83 | 0 | 0.50 | 247.36 | 0.72 | 0.29 |
| Hex | 22 | 15 | 7F | 49 | 53 | 0 | 32 | F7 | 48 | 1D |
| Octal | 42 | 25 | 177 | 111 | 123 | 0 | 62 | 367 | 110 | 35 |
| Binary | 100010 | 10101 | 1111111 | 1001001 | 1010011 | 0 | 110010 | 11110111 | 1001000 | 11101 |
Color Harmonies of #22157F
Complementary color
Monochromatic Colors of #22157F
Black with #22157F
Text Example
Text Example
White with #22157F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #22157F; }
p { color: rgb(34,21,127); }
H1.HeaderClassName
{
color: #22157F;
}
.AnyTagClassName
{
color: #22157F;
}
</style>
background-color css
<style>
a { background-color: #22157F; }
a { background-color: rgb(34,21,127); }
div.DivClassName
{
background-color: #22157F;
}
.BgClassName
{
background-color: #22157F;
}
</style>
border-color css
<style>
span { border-color: #22157F; }
span { border-color: rgb(34,21,127); }
td.TdClassName
{
border-color: #22157F;
}
.TagClassName
{
border-color: #22157F;
}
</style>