Shades of Midnight Blue #12227F
Tints of Midnight Blue #12227F
RGB
CMYK
RGB Variations
Color information
#12227F (or 0x12227F) is known color: Midnight Blue. HEX triplet: 12, 22 and 7F. RGB value is (18,34,127). Sum of RGB (Red+Green+Blue) = 18+34+127=179 (23% of max value = 765). Red value is 18 (7.42% from 255 or 10.06% from 179); Green value is 34 (13.67% from 255 or 18.99% from 179); Blue value is 127 (50% from 255 or 70.95% from 179); Max value from RGB is 127 - color contains mainly: blue. Hex color #12227F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #12227F is #EDDD80. Grayscale: #272727. Windows color (decimal): -15588737 or 8331794. OLE color: 8331794.
HSL color Cylindrical-coordinate representation of color #12227F: hue angle of 231.19º degrees, saturation: 0.75, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.86%. Process color model (Four color, CMYK) of #12227F is Cyan = 0.86, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 18 | 34 | 127 | - |
| CMYK | 0.86 | 0.73 | 0 | 0.50 |
| HSL | 231.19º | 0.75% | 0.28% | - |
| HSV(B) | 231.19º | 0.86% | 0.5% | - |
| XYZ | 4.65 | 2.8 | 20.37 | - |
| YUV | 39.82 | 177.2 | 112.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 34 | 127 | 0.86 | 0.73 | 0 | 0.50 | 231.19 | 0.75 | 0.28 |
| Hex | 12 | 22 | 7F | 56 | 49 | 0 | 32 | E7 | 4B | 1C |
| Octal | 22 | 42 | 177 | 126 | 111 | 0 | 62 | 347 | 113 | 34 |
| Binary | 10010 | 100010 | 1111111 | 1010110 | 1001001 | 0 | 110010 | 11100111 | 1001011 | 11100 |
Color Harmonies of #12227F
Complementary color
Monochromatic Colors of #12227F
Black with #12227F
Text Example
Text Example
White with #12227F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12227F; }
p { color: rgb(18,34,127); }
H1.HeaderClassName
{
color: #12227F;
}
.AnyTagClassName
{
color: #12227F;
}
</style>
background-color css
<style>
a { background-color: #12227F; }
a { background-color: rgb(18,34,127); }
div.DivClassName
{
background-color: #12227F;
}
.BgClassName
{
background-color: #12227F;
}
</style>
border-color css
<style>
span { border-color: #12227F; }
span { border-color: rgb(18,34,127); }
td.TdClassName
{
border-color: #12227F;
}
.TagClassName
{
border-color: #12227F;
}
</style>