Shades of Midnight Blue #121271
Tints of Midnight Blue #121271
RGB
CMYK
RGB Variations
Color information
#121271 (or 0x121271) is known color: Midnight Blue. HEX triplet: 12, 12 and 71. RGB value is (18,18,113). Sum of RGB (Red+Green+Blue) = 18+18+113=149 (19% of max value = 765). Red value is 18 (7.42% from 255 or 12.08% from 149); Green value is 18 (7.42% from 255 or 12.08% from 149); Blue value is 113 (44.53% from 255 or 75.84% from 149); Max value from RGB is 113 - color contains mainly: blue. Hex color #121271 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #121271 is #EDED8E. Grayscale: #1C1C1C. Windows color (decimal): -15592847 or 7410194. OLE color: 7410194.
HSL color Cylindrical-coordinate representation of color #121271: hue angle of 240º degrees, saturation: 0.73, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #121271 is Cyan = 0.84, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 18 | 18 | 113 | - |
| CMYK | 0.84 | 0.84 | 0 | 0.56 |
| HSL | 240º | 0.73% | 0.26% | - |
| HSV(B) | 240º | 0.84% | 0.44% | - |
| XYZ | 3.45 | 1.75 | 15.78 | - |
| YUV | 28.83 | 175.5 | 120.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 18 | 113 | 0.84 | 0.84 | 0 | 0.56 | 240 | 0.73 | 0.26 |
| Hex | 12 | 12 | 71 | 54 | 54 | 0 | 38 | F0 | 49 | 1A |
| Octal | 22 | 22 | 161 | 124 | 124 | 0 | 70 | 360 | 111 | 32 |
| Binary | 10010 | 10010 | 1110001 | 1010100 | 1010100 | 0 | 111000 | 11110000 | 1001001 | 11010 |
Color Harmonies of #121271
Complementary color
Monochromatic Colors of #121271
Black with #121271
Text Example
Text Example
White with #121271
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #121271; }
p { color: rgb(18,18,113); }
H1.HeaderClassName
{
color: #121271;
}
.AnyTagClassName
{
color: #121271;
}
</style>
background-color css
<style>
a { background-color: #121271; }
a { background-color: rgb(18,18,113); }
div.DivClassName
{
background-color: #121271;
}
.BgClassName
{
background-color: #121271;
}
</style>
border-color css
<style>
span { border-color: #121271; }
span { border-color: rgb(18,18,113); }
td.TdClassName
{
border-color: #121271;
}
.TagClassName
{
border-color: #121271;
}
</style>