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