Shades of Midnight Blue #12157E
Tints of Midnight Blue #12157E
RGB
CMYK
RGB Variations
Color information
#12157E (or 0x12157E) is known color: Midnight Blue. HEX triplet: 12, 15 and 7E. RGB value is (18,21,126). Sum of RGB (Red+Green+Blue) = 18+21+126=165 (21% of max value = 765). Red value is 18 (7.42% from 255 or 10.91% from 165); Green value is 21 (8.59% from 255 or 12.73% from 165); Blue value is 126 (49.61% from 255 or 76.36% from 165); Max value from RGB is 126 - color contains mainly: blue. Hex color #12157E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #12157E is #EDEA81. Grayscale: #1F1F1F. Windows color (decimal): -15592066 or 8262930. OLE color: 8262930.
HSL color Cylindrical-coordinate representation of color #12157E: hue angle of 238.33º 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 #12157E is Cyan = 0.86, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 18 | 21 | 126 | - |
| CMYK | 0.86 | 0.83 | 0 | 0.51 |
| HSL | 238.33º | 0.75% | 0.28% | - |
| HSV(B) | 238.33º | 0.86% | 0.49% | - |
| XYZ | 4.28 | 2.17 | 19.93 | - |
| YUV | 32.07 | 181.01 | 117.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 21 | 126 | 0.86 | 0.83 | 0 | 0.51 | 238.33 | 0.75 | 0.28 |
| Hex | 12 | 15 | 7E | 56 | 53 | 0 | 33 | EE | 4B | 1C |
| Octal | 22 | 25 | 176 | 126 | 123 | 0 | 63 | 356 | 113 | 34 |
| Binary | 10010 | 10101 | 1111110 | 1010110 | 1010011 | 0 | 110011 | 11101110 | 1001011 | 11100 |
Color Harmonies of #12157E
Complementary color
Monochromatic Colors of #12157E
Black with #12157E
Text Example
Text Example
White with #12157E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12157E; }
p { color: rgb(18,21,126); }
H1.HeaderClassName
{
color: #12157E;
}
.AnyTagClassName
{
color: #12157E;
}
</style>
background-color css
<style>
a { background-color: #12157E; }
a { background-color: rgb(18,21,126); }
div.DivClassName
{
background-color: #12157E;
}
.BgClassName
{
background-color: #12157E;
}
</style>
border-color css
<style>
span { border-color: #12157E; }
span { border-color: rgb(18,21,126); }
td.TdClassName
{
border-color: #12157E;
}
.TagClassName
{
border-color: #12157E;
}
</style>