Shades of Midnight Blue #12217F
Tints of Midnight Blue #12217F
RGB
CMYK
RGB Variations
Color information
#12217F (or 0x12217F) is known color: Midnight Blue. HEX triplet: 12, 21 and 7F. RGB value is (18,33,127). Sum of RGB (Red+Green+Blue) = 18+33+127=178 (23% of max value = 765). Red value is 18 (7.42% from 255 or 10.11% from 178); Green value is 33 (13.28% from 255 or 18.54% from 178); Blue value is 127 (50% from 255 or 71.35% from 178); Max value from RGB is 127 - color contains mainly: blue. Hex color #12217F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #12217F is #EDDE80. Grayscale: #262626. Windows color (decimal): -15588993 or 8331538. OLE color: 8331538.
HSL color Cylindrical-coordinate representation of color #12217F: hue angle of 231.74º 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 #12217F is Cyan = 0.86, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 18 | 33 | 127 | - |
| CMYK | 0.86 | 0.74 | 0 | 0.50 |
| HSL | 231.74º | 0.75% | 0.28% | - |
| HSV(B) | 231.74º | 0.86% | 0.5% | - |
| XYZ | 4.62 | 2.75 | 20.37 | - |
| YUV | 39.23 | 177.53 | 112.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 33 | 127 | 0.86 | 0.74 | 0 | 0.50 | 231.74 | 0.75 | 0.28 |
| Hex | 12 | 21 | 7F | 56 | 4A | 0 | 32 | E8 | 4B | 1C |
| Octal | 22 | 41 | 177 | 126 | 112 | 0 | 62 | 350 | 113 | 34 |
| Binary | 10010 | 100001 | 1111111 | 1010110 | 1001010 | 0 | 110010 | 11101000 | 1001011 | 11100 |
Color Harmonies of #12217F
Complementary color
Monochromatic Colors of #12217F
Black with #12217F
Text Example
Text Example
White with #12217F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12217F; }
p { color: rgb(18,33,127); }
H1.HeaderClassName
{
color: #12217F;
}
.AnyTagClassName
{
color: #12217F;
}
</style>
background-color css
<style>
a { background-color: #12217F; }
a { background-color: rgb(18,33,127); }
div.DivClassName
{
background-color: #12217F;
}
.BgClassName
{
background-color: #12217F;
}
</style>
border-color css
<style>
span { border-color: #12217F; }
span { border-color: rgb(18,33,127); }
td.TdClassName
{
border-color: #12217F;
}
.TagClassName
{
border-color: #12217F;
}
</style>