Shades of Midnight Blue #12156B
Tints of Midnight Blue #12156B
RGB
CMYK
RGB Variations
Color information
#12156B (or 0x12156B) is known color: Midnight Blue. HEX triplet: 12, 15 and 6B. RGB value is (18,21,107). Sum of RGB (Red+Green+Blue) = 18+21+107=146 (19% of max value = 765). Red value is 18 (7.42% from 255 or 12.33% from 146); Green value is 21 (8.59% from 255 or 14.38% from 146); Blue value is 107 (42.19% from 255 or 73.29% from 146); Max value from RGB is 107 - color contains mainly: blue. Hex color #12156B is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #12156B is #EDEA94. Grayscale: #1D1D1D. Windows color (decimal): -15592085 or 7017746. OLE color: 7017746.
HSL color Cylindrical-coordinate representation of color #12156B: hue angle of 237.98º degrees, saturation: 0.71, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #12156B is Cyan = 0.83, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 18 | 21 | 107 | - |
| CMYK | 0.83 | 0.80 | 0 | 0.58 |
| HSL | 237.98º | 0.71% | 0.25% | - |
| HSV(B) | 237.98º | 0.83% | 0.42% | - |
| XYZ | 3.17 | 1.73 | 14.08 | - |
| YUV | 29.91 | 171.51 | 119.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 21 | 107 | 0.83 | 0.80 | 0 | 0.58 | 237.98 | 0.71 | 0.25 |
| Hex | 12 | 15 | 6B | 53 | 50 | 0 | 3A | EE | 47 | 19 |
| Octal | 22 | 25 | 153 | 123 | 120 | 0 | 72 | 356 | 107 | 31 |
| Binary | 10010 | 10101 | 1101011 | 1010011 | 1010000 | 0 | 111010 | 11101110 | 1000111 | 11001 |
Color Harmonies of #12156B
Complementary color
Monochromatic Colors of #12156B
Black with #12156B
Text Example
Text Example
White with #12156B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12156B; }
p { color: rgb(18,21,107); }
H1.HeaderClassName
{
color: #12156B;
}
.AnyTagClassName
{
color: #12156B;
}
</style>
background-color css
<style>
a { background-color: #12156B; }
a { background-color: rgb(18,21,107); }
div.DivClassName
{
background-color: #12156B;
}
.BgClassName
{
background-color: #12156B;
}
</style>
border-color css
<style>
span { border-color: #12156B; }
span { border-color: rgb(18,21,107); }
td.TdClassName
{
border-color: #12156B;
}
.TagClassName
{
border-color: #12156B;
}
</style>