Shades of Midnight Blue #120254
Tints of Midnight Blue #120254
RGB
CMYK
RGB Variations
Color information
#120254 (or 0x120254) is known color: Midnight Blue. HEX triplet: 12, 02 and 54. RGB value is (18,2,84). Sum of RGB (Red+Green+Blue) = 18+2+84=104 (13% of max value = 765). Red value is 18 (7.42% from 255 or 17.31% from 104); Green value is 2 (1.17% from 255 or 1.92% from 104); Blue value is 84 (33.20% from 255 or 80.77% from 104); Max value from RGB is 84 - color contains mainly: blue. Hex color #120254 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #120254 is #EDFDAB. Grayscale: #0F0F0F. Windows color (decimal): -15596972 or 5505554. OLE color: 5505554.
HSL color Cylindrical-coordinate representation of color #120254: hue angle of 251.71º degrees, saturation: 0.95, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.33% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #120254 is Cyan = 0.79, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.67.
Color convert
| RGB | 18 | 2 | 84 | - |
| CMYK | 0.79 | 0.98 | 0 | 0.67 |
| HSL | 251.71º | 0.95% | 0.17% | - |
| HSV(B) | 251.71º | 0.98% | 0.33% | - |
| XYZ | 1.87 | 0.81 | 8.45 | - |
| YUV | 16.13 | 166.3 | 129.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 2 | 84 | 0.79 | 0.98 | 0 | 0.67 | 251.71 | 0.95 | 0.17 |
| Hex | 12 | 2 | 54 | 4F | 62 | 0 | 43 | FC | 5F | 11 |
| Octal | 22 | 2 | 124 | 117 | 142 | 0 | 103 | 374 | 137 | 21 |
| Binary | 10010 | 10 | 1010100 | 1001111 | 1100010 | 0 | 1000011 | 11111100 | 1011111 | 10001 |
Color Harmonies of #120254
Complementary color
Monochromatic Colors of #120254
Black with #120254
Text Example
Text Example
White with #120254
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #120254; }
p { color: rgb(18,2,84); }
H1.HeaderClassName
{
color: #120254;
}
.AnyTagClassName
{
color: #120254;
}
</style>
background-color css
<style>
a { background-color: #120254; }
a { background-color: rgb(18,2,84); }
div.DivClassName
{
background-color: #120254;
}
.BgClassName
{
background-color: #120254;
}
</style>
border-color css
<style>
span { border-color: #120254; }
span { border-color: rgb(18,2,84); }
td.TdClassName
{
border-color: #120254;
}
.TagClassName
{
border-color: #120254;
}
</style>