Shades of Midnight Blue #12257F
Tints of Midnight Blue #12257F
RGB
CMYK
RGB Variations
Color information
#12257F (or 0x12257F) is known color: Midnight Blue. HEX triplet: 12, 25 and 7F. RGB value is (18,37,127). Sum of RGB (Red+Green+Blue) = 18+37+127=182 (24% of max value = 765). Red value is 18 (7.42% from 255 or 9.89% from 182); Green value is 37 (14.84% from 255 or 20.33% from 182); Blue value is 127 (50% from 255 or 69.78% from 182); Max value from RGB is 127 - color contains mainly: blue. Hex color #12257F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #12257F is #EDDA80. Grayscale: #292929. Windows color (decimal): -15587969 or 8332562. OLE color: 8332562.
HSL color Cylindrical-coordinate representation of color #12257F: hue angle of 229.54º degrees, saturation: 0.75, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.86%. Process color model (Four color, CMYK) of #12257F is Cyan = 0.86, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 18 | 37 | 127 | - |
| CMYK | 0.86 | 0.71 | 0 | 0.50 |
| HSL | 229.54º | 0.75% | 0.28% | - |
| HSV(B) | 229.54º | 0.86% | 0.5% | - |
| XYZ | 4.74 | 2.98 | 20.4 | - |
| YUV | 41.58 | 176.21 | 111.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 37 | 127 | 0.86 | 0.71 | 0 | 0.50 | 229.54 | 0.75 | 0.28 |
| Hex | 12 | 25 | 7F | 56 | 47 | 0 | 32 | E6 | 4B | 1C |
| Octal | 22 | 45 | 177 | 126 | 107 | 0 | 62 | 346 | 113 | 34 |
| Binary | 10010 | 100101 | 1111111 | 1010110 | 1000111 | 0 | 110010 | 11100110 | 1001011 | 11100 |
Color Harmonies of #12257F
Complementary color
Monochromatic Colors of #12257F
Black with #12257F
Text Example
Text Example
White with #12257F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12257F; }
p { color: rgb(18,37,127); }
H1.HeaderClassName
{
color: #12257F;
}
.AnyTagClassName
{
color: #12257F;
}
</style>
background-color css
<style>
a { background-color: #12257F; }
a { background-color: rgb(18,37,127); }
div.DivClassName
{
background-color: #12257F;
}
.BgClassName
{
background-color: #12257F;
}
</style>
border-color css
<style>
span { border-color: #12257F; }
span { border-color: rgb(18,37,127); }
td.TdClassName
{
border-color: #12257F;
}
.TagClassName
{
border-color: #12257F;
}
</style>