Shades of Midnight Blue #120266
Tints of Midnight Blue #120266
RGB
CMYK
RGB Variations
Color information
#120266 (or 0x120266) is known color: Midnight Blue. HEX triplet: 12, 02 and 66. RGB value is (18,2,102). Sum of RGB (Red+Green+Blue) = 18+2+102=122 (16% of max value = 765). Red value is 18 (7.42% from 255 or 14.75% from 122); Green value is 2 (1.17% from 255 or 1.64% from 122); Blue value is 102 (40.23% from 255 or 83.61% from 122); Max value from RGB is 102 - color contains mainly: blue. Hex color #120266 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #120266 is #EDFD99. Grayscale: #111111. Windows color (decimal): -15596954 or 6685202. OLE color: 6685202.
HSL color Cylindrical-coordinate representation of color #120266: hue angle of 249.6º degrees, saturation: 0.96, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #120266 is Cyan = 0.82, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 18 | 2 | 102 | - |
| CMYK | 0.82 | 0.98 | 0 | 0.6 |
| HSL | 249.6º | 0.96% | 0.2% | - |
| HSV(B) | 249.6º | 0.98% | 0.4% | - |
| XYZ | 2.67 | 1.13 | 12.65 | - |
| YUV | 18.18 | 175.3 | 127.87 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 2 | 102 | 0.82 | 0.98 | 0 | 0.6 | 249.6 | 0.96 | 0.2 |
| Hex | 12 | 2 | 66 | 52 | 62 | 0 | 3C | FA | 60 | 14 |
| Octal | 22 | 2 | 146 | 122 | 142 | 0 | 74 | 372 | 140 | 24 |
| Binary | 10010 | 10 | 1100110 | 1010010 | 1100010 | 0 | 111100 | 11111010 | 1100000 | 10100 |
Color Harmonies of #120266
Complementary color
Monochromatic Colors of #120266
Black with #120266
Text Example
Text Example
White with #120266
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #120266; }
p { color: rgb(18,2,102); }
H1.HeaderClassName
{
color: #120266;
}
.AnyTagClassName
{
color: #120266;
}
</style>
background-color css
<style>
a { background-color: #120266; }
a { background-color: rgb(18,2,102); }
div.DivClassName
{
background-color: #120266;
}
.BgClassName
{
background-color: #120266;
}
</style>
border-color css
<style>
span { border-color: #120266; }
span { border-color: rgb(18,2,102); }
td.TdClassName
{
border-color: #120266;
}
.TagClassName
{
border-color: #120266;
}
</style>