Shades of Midnight Blue #121878
Tints of Midnight Blue #121878
RGB
CMYK
RGB Variations
Color information
#121878 (or 0x121878) is known color: Midnight Blue. HEX triplet: 12, 18 and 78. RGB value is (18,24,120). Sum of RGB (Red+Green+Blue) = 18+24+120=162 (21% of max value = 765). Red value is 18 (7.42% from 255 or 11.11% from 162); Green value is 24 (9.77% from 255 or 14.81% from 162); Blue value is 120 (47.27% from 255 or 74.07% from 162); Max value from RGB is 120 - color contains mainly: blue. Hex color #121878 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #121878 is #EDE787. Grayscale: #202020. Windows color (decimal): -15591304 or 7870482. OLE color: 7870482.
HSL color Cylindrical-coordinate representation of color #121878: hue angle of 236.47º degrees, saturation: 0.74, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #121878 is Cyan = 0.85, Magento = 0.8, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 18 | 24 | 120 | - |
| CMYK | 0.85 | 0.8 | 0 | 0.53 |
| HSL | 236.47º | 0.74% | 0.27% | - |
| HSV(B) | 236.47º | 0.85% | 0.47% | - |
| XYZ | 3.97 | 2.14 | 17.97 | - |
| YUV | 33.15 | 177.01 | 117.19 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 24 | 120 | 0.85 | 0.8 | 0 | 0.53 | 236.47 | 0.74 | 0.27 |
| Hex | 12 | 18 | 78 | 55 | 50 | 0 | 35 | EC | 4A | 1B |
| Octal | 22 | 30 | 170 | 125 | 120 | 0 | 65 | 354 | 112 | 33 |
| Binary | 10010 | 11000 | 1111000 | 1010101 | 1010000 | 0 | 110101 | 11101100 | 1001010 | 11011 |
Color Harmonies of #121878
Complementary color
Monochromatic Colors of #121878
Black with #121878
Text Example
Text Example
White with #121878
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #121878; }
p { color: rgb(18,24,120); }
H1.HeaderClassName
{
color: #121878;
}
.AnyTagClassName
{
color: #121878;
}
</style>
background-color css
<style>
a { background-color: #121878; }
a { background-color: rgb(18,24,120); }
div.DivClassName
{
background-color: #121878;
}
.BgClassName
{
background-color: #121878;
}
</style>
border-color css
<style>
span { border-color: #121878; }
span { border-color: rgb(18,24,120); }
td.TdClassName
{
border-color: #121878;
}
.TagClassName
{
border-color: #121878;
}
</style>