Shades of Midnight Blue #22126C
Tints of Midnight Blue #22126C
RGB
CMYK
RGB Variations
Color information
#22126C (or 0x22126C) is known color: Midnight Blue. HEX triplet: 22, 12 and 6C. RGB value is (34,18,108). Sum of RGB (Red+Green+Blue) = 34+18+108=160 (21% of max value = 765). Red value is 34 (13.67% from 255 or 21.25% from 160); Green value is 18 (7.42% from 255 or 11.25% from 160); Blue value is 108 (42.58% from 255 or 67.5% from 160); Max value from RGB is 108 - color contains mainly: blue. Hex color #22126C is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #22126C is #DDED93. Grayscale: #202020. Windows color (decimal): -14544276 or 7082530. OLE color: 7082530.
HSL color Cylindrical-coordinate representation of color #22126C: hue angle of 250.67º degrees, saturation: 0.71, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #22126C is Cyan = 0.69, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 34 | 18 | 108 | - |
| CMYK | 0.69 | 0.83 | 0 | 0.58 |
| HSL | 250.67º | 0.71% | 0.25% | - |
| HSV(B) | 250.67º | 0.83% | 0.42% | - |
| XYZ | 3.58 | 1.86 | 14.36 | - |
| YUV | 33.04 | 170.3 | 128.68 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 18 | 108 | 0.69 | 0.83 | 0 | 0.58 | 250.67 | 0.71 | 0.25 |
| Hex | 22 | 12 | 6C | 45 | 53 | 0 | 3A | FB | 47 | 19 |
| Octal | 42 | 22 | 154 | 105 | 123 | 0 | 72 | 373 | 107 | 31 |
| Binary | 100010 | 10010 | 1101100 | 1000101 | 1010011 | 0 | 111010 | 11111011 | 1000111 | 11001 |
Color Harmonies of #22126C
Complementary color
Monochromatic Colors of #22126C
Black with #22126C
Text Example
Text Example
White with #22126C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #22126C; }
p { color: rgb(34,18,108); }
H1.HeaderClassName
{
color: #22126C;
}
.AnyTagClassName
{
color: #22126C;
}
</style>
background-color css
<style>
a { background-color: #22126C; }
a { background-color: rgb(34,18,108); }
div.DivClassName
{
background-color: #22126C;
}
.BgClassName
{
background-color: #22126C;
}
</style>
border-color css
<style>
span { border-color: #22126C; }
span { border-color: rgb(34,18,108); }
td.TdClassName
{
border-color: #22126C;
}
.TagClassName
{
border-color: #22126C;
}
</style>