Shades of Midnight Blue #120257
Tints of Midnight Blue #120257
RGB
CMYK
RGB Variations
Color information
#120257 (or 0x120257) is known color: Midnight Blue. HEX triplet: 12, 02 and 57. RGB value is (18,2,87). Sum of RGB (Red+Green+Blue) = 18+2+87=107 (14% of max value = 765). Red value is 18 (7.42% from 255 or 16.82% from 107); Green value is 2 (1.17% from 255 or 1.87% from 107); Blue value is 87 (34.38% from 255 or 81.31% from 107); Max value from RGB is 87 - color contains mainly: blue. Hex color #120257 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #120257 is #EDFDA8. Grayscale: #101010. Windows color (decimal): -15596969 or 5702162. OLE color: 5702162.
HSL color Cylindrical-coordinate representation of color #120257: hue angle of 251.29º degrees, saturation: 0.96, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #120257 is Cyan = 0.79, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 18 | 2 | 87 | - |
| CMYK | 0.79 | 0.98 | 0 | 0.66 |
| HSL | 251.29º | 0.96% | 0.17% | - |
| HSV(B) | 251.29º | 0.98% | 0.34% | - |
| XYZ | 1.99 | 0.86 | 9.08 | - |
| YUV | 16.47 | 167.8 | 129.09 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 2 | 87 | 0.79 | 0.98 | 0 | 0.66 | 251.29 | 0.96 | 0.17 |
| Hex | 12 | 2 | 57 | 4F | 62 | 0 | 42 | FB | 60 | 11 |
| Octal | 22 | 2 | 127 | 117 | 142 | 0 | 102 | 373 | 140 | 21 |
| Binary | 10010 | 10 | 1010111 | 1001111 | 1100010 | 0 | 1000010 | 11111011 | 1100000 | 10001 |
Color Harmonies of #120257
Complementary color
Monochromatic Colors of #120257
Black with #120257
Text Example
Text Example
White with #120257
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #120257; }
p { color: rgb(18,2,87); }
H1.HeaderClassName
{
color: #120257;
}
.AnyTagClassName
{
color: #120257;
}
</style>
background-color css
<style>
a { background-color: #120257; }
a { background-color: rgb(18,2,87); }
div.DivClassName
{
background-color: #120257;
}
.BgClassName
{
background-color: #120257;
}
</style>
border-color css
<style>
span { border-color: #120257; }
span { border-color: rgb(18,2,87); }
td.TdClassName
{
border-color: #120257;
}
.TagClassName
{
border-color: #120257;
}
</style>