Shades of Midnight Blue #12126D
Tints of Midnight Blue #12126D
RGB
CMYK
RGB Variations
Color information
#12126D (or 0x12126D) is known color: Midnight Blue. HEX triplet: 12, 12 and 6D. RGB value is (18,18,109). Sum of RGB (Red+Green+Blue) = 18+18+109=145 (19% of max value = 765). Red value is 18 (7.42% from 255 or 12.41% from 145); Green value is 18 (7.42% from 255 or 12.41% from 145); Blue value is 109 (42.97% from 255 or 75.17% from 145); Max value from RGB is 109 - color contains mainly: blue. Hex color #12126D is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #12126D is #EDED92. Grayscale: #1C1C1C. Windows color (decimal): -15592851 or 7148050. OLE color: 7148050.
HSL color Cylindrical-coordinate representation of color #12126D: hue angle of 240º degrees, saturation: 0.72, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #12126D is Cyan = 0.83, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 18 | 18 | 109 | - |
| CMYK | 0.83 | 0.83 | 0 | 0.57 |
| HSL | 240º | 0.72% | 0.25% | - |
| HSV(B) | 240º | 0.83% | 0.43% | - |
| XYZ | 3.23 | 1.67 | 14.62 | - |
| YUV | 28.37 | 173.5 | 120.6 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 18 | 109 | 0.83 | 0.83 | 0 | 0.57 | 240 | 0.72 | 0.25 |
| Hex | 12 | 12 | 6D | 53 | 53 | 0 | 39 | F0 | 48 | 19 |
| Octal | 22 | 22 | 155 | 123 | 123 | 0 | 71 | 360 | 110 | 31 |
| Binary | 10010 | 10010 | 1101101 | 1010011 | 1010011 | 0 | 111001 | 11110000 | 1001000 | 11001 |
Color Harmonies of #12126D
Complementary color
Monochromatic Colors of #12126D
Black with #12126D
Text Example
Text Example
White with #12126D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12126D; }
p { color: rgb(18,18,109); }
H1.HeaderClassName
{
color: #12126D;
}
.AnyTagClassName
{
color: #12126D;
}
</style>
background-color css
<style>
a { background-color: #12126D; }
a { background-color: rgb(18,18,109); }
div.DivClassName
{
background-color: #12126D;
}
.BgClassName
{
background-color: #12126D;
}
</style>
border-color css
<style>
span { border-color: #12126D; }
span { border-color: rgb(18,18,109); }
td.TdClassName
{
border-color: #12126D;
}
.TagClassName
{
border-color: #12126D;
}
</style>