Shades of Midnight Blue #12217E
Tints of Midnight Blue #12217E
RGB
CMYK
RGB Variations
Color information
#12217E (or 0x12217E) is known color: Midnight Blue. HEX triplet: 12, 21 and 7E. RGB value is (18,33,126). Sum of RGB (Red+Green+Blue) = 18+33+126=177 (23% of max value = 765). Red value is 18 (7.42% from 255 or 10.17% from 177); Green value is 33 (13.28% from 255 or 18.64% from 177); Blue value is 126 (49.61% from 255 or 71.19% from 177); Max value from RGB is 126 - color contains mainly: blue. Hex color #12217E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #12217E is #EDDE81. Grayscale: #262626. Windows color (decimal): -15588994 or 8266002. OLE color: 8266002.
HSL color Cylindrical-coordinate representation of color #12217E: hue angle of 231.67º degrees, saturation: 0.75, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.86%. Process color model (Four color, CMYK) of #12217E is Cyan = 0.86, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 18 | 33 | 126 | - |
| CMYK | 0.86 | 0.74 | 0 | 0.51 |
| HSL | 231.67º | 0.75% | 0.28% | - |
| HSV(B) | 231.67º | 0.86% | 0.49% | - |
| XYZ | 4.56 | 2.72 | 20.02 | - |
| YUV | 39.12 | 177.03 | 112.94 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 33 | 126 | 0.86 | 0.74 | 0 | 0.51 | 231.67 | 0.75 | 0.28 |
| Hex | 12 | 21 | 7E | 56 | 4A | 0 | 33 | E8 | 4B | 1C |
| Octal | 22 | 41 | 176 | 126 | 112 | 0 | 63 | 350 | 113 | 34 |
| Binary | 10010 | 100001 | 1111110 | 1010110 | 1001010 | 0 | 110011 | 11101000 | 1001011 | 11100 |
Color Harmonies of #12217E
Complementary color
Monochromatic Colors of #12217E
Black with #12217E
Text Example
Text Example
White with #12217E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12217E; }
p { color: rgb(18,33,126); }
H1.HeaderClassName
{
color: #12217E;
}
.AnyTagClassName
{
color: #12217E;
}
</style>
background-color css
<style>
a { background-color: #12217E; }
a { background-color: rgb(18,33,126); }
div.DivClassName
{
background-color: #12217E;
}
.BgClassName
{
background-color: #12217E;
}
</style>
border-color css
<style>
span { border-color: #12217E; }
span { border-color: rgb(18,33,126); }
td.TdClassName
{
border-color: #12217E;
}
.TagClassName
{
border-color: #12217E;
}
</style>