Shades of Midnight Blue #22217E
Tints of Midnight Blue #22217E
RGB
CMYK
RGB Variations
Color information
#22217E (or 0x22217E) is known color: Midnight Blue. HEX triplet: 22, 21 and 7E. RGB value is (34,33,126). Sum of RGB (Red+Green+Blue) = 34+33+126=193 (25% of max value = 765). Red value is 34 (13.67% from 255 or 17.62% from 193); Green value is 33 (13.28% from 255 or 17.10% from 193); Blue value is 126 (49.61% from 255 or 65.28% from 193); Max value from RGB is 126 - color contains mainly: blue. Hex color #22217E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #22217E is #DDDE81. Grayscale: #2B2B2B. Windows color (decimal): -14540418 or 8266018. OLE color: 8266018.
HSL color Cylindrical-coordinate representation of color #22217E: hue angle of 240.65º degrees, saturation: 0.58, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #22217E is Cyan = 0.73, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 34 | 33 | 126 | - |
| CMYK | 0.73 | 0.74 | 0 | 0.51 |
| HSL | 240.65º | 0.58% | 0.31% | - |
| HSV(B) | 240.65º | 0.74% | 0.49% | - |
| XYZ | 4.97 | 2.93 | 20.04 | - |
| YUV | 43.9 | 174.33 | 120.94 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 33 | 126 | 0.73 | 0.74 | 0 | 0.51 | 240.65 | 0.58 | 0.31 |
| Hex | 22 | 21 | 7E | 49 | 4A | 0 | 33 | F1 | 3A | 1F |
| Octal | 42 | 41 | 176 | 111 | 112 | 0 | 63 | 361 | 72 | 37 |
| Binary | 100010 | 100001 | 1111110 | 1001001 | 1001010 | 0 | 110011 | 11110001 | 111010 | 11111 |
Color Harmonies of #22217E
Complementary color
Monochromatic Colors of #22217E
Black with #22217E
Text Example
Text Example
White with #22217E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #22217E; }
p { color: rgb(34,33,126); }
H1.HeaderClassName
{
color: #22217E;
}
.AnyTagClassName
{
color: #22217E;
}
</style>
background-color css
<style>
a { background-color: #22217E; }
a { background-color: rgb(34,33,126); }
div.DivClassName
{
background-color: #22217E;
}
.BgClassName
{
background-color: #22217E;
}
</style>
border-color css
<style>
span { border-color: #22217E; }
span { border-color: rgb(34,33,126); }
td.TdClassName
{
border-color: #22217E;
}
.TagClassName
{
border-color: #22217E;
}
</style>