Shades of Midnight Blue #12127E
Tints of Midnight Blue #12127E
RGB
CMYK
RGB Variations
Color information
#12127E (or 0x12127E) is known color: Midnight Blue. HEX triplet: 12, 12 and 7E. RGB value is (18,18,126). Sum of RGB (Red+Green+Blue) = 18+18+126=162 (21% of max value = 765). Red value is 18 (7.42% from 255 or 11.11% from 162); Green value is 18 (7.42% from 255 or 11.11% from 162); Blue value is 126 (49.61% from 255 or 77.78% from 162); Max value from RGB is 126 - color contains mainly: blue. Hex color #12127E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #12127E is #EDED81. Grayscale: #1D1D1D. Windows color (decimal): -15592834 or 8262162. OLE color: 8262162.
HSL color Cylindrical-coordinate representation of color #12127E: hue angle of 240º 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 #12127E is Cyan = 0.86, Magento = 0.86, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 18 | 18 | 126 | - |
| CMYK | 0.86 | 0.86 | 0 | 0.51 |
| HSL | 240º | 0.75% | 0.28% | - |
| HSV(B) | 240º | 0.86% | 0.49% | - |
| XYZ | 4.23 | 2.07 | 19.91 | - |
| YUV | 30.31 | 182 | 119.22 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 18 | 126 | 0.86 | 0.86 | 0 | 0.51 | 240 | 0.75 | 0.28 |
| Hex | 12 | 12 | 7E | 56 | 56 | 0 | 33 | F0 | 4B | 1C |
| Octal | 22 | 22 | 176 | 126 | 126 | 0 | 63 | 360 | 113 | 34 |
| Binary | 10010 | 10010 | 1111110 | 1010110 | 1010110 | 0 | 110011 | 11110000 | 1001011 | 11100 |
Color Harmonies of #12127E
Complementary color
Monochromatic Colors of #12127E
Black with #12127E
Text Example
Text Example
White with #12127E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12127E; }
p { color: rgb(18,18,126); }
H1.HeaderClassName
{
color: #12127E;
}
.AnyTagClassName
{
color: #12127E;
}
</style>
background-color css
<style>
a { background-color: #12127E; }
a { background-color: rgb(18,18,126); }
div.DivClassName
{
background-color: #12127E;
}
.BgClassName
{
background-color: #12127E;
}
</style>
border-color css
<style>
span { border-color: #12127E; }
span { border-color: rgb(18,18,126); }
td.TdClassName
{
border-color: #12127E;
}
.TagClassName
{
border-color: #12127E;
}
</style>