Shades of Midnight #122846
Tints of Midnight #122846
RGB
CMYK
RGB Variations
Color information
#122846 (or 0x122846) is known color: Midnight. HEX triplet: 12, 28 and 46. RGB value is (18,40,70). Sum of RGB (Red+Green+Blue) = 18+40+70=128 (16% of max value = 765). Red value is 18 (7.42% from 255 or 14.06% from 128); Green value is 40 (16.02% from 255 or 31.25% from 128); Blue value is 70 (27.73% from 255 or 54.69% from 128); Max value from RGB is 70 - color contains mainly: blue. Hex color #122846 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #122846 is #EDD7B9. Grayscale: #242424. Windows color (decimal): -15587258 or 4597778. OLE color: 4597778.
HSL color Cylindrical-coordinate representation of color #122846: hue angle of 214.62º degrees, saturation: 0.59, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.27% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #122846 is Cyan = 0.74, Magento = 0.43, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 18 | 40 | 70 | - |
| CMYK | 0.74 | 0.43 | 0 | 0.73 |
| HSL | 214.62º | 0.59% | 0.17% | - |
| HSV(B) | 214.62º | 0.74% | 0.27% | - |
| XYZ | 2.11 | 2.09 | 6.09 | - |
| YUV | 36.84 | 146.71 | 114.56 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 40 | 70 | 0.74 | 0.43 | 0 | 0.73 | 214.62 | 0.59 | 0.17 |
| Hex | 12 | 28 | 46 | 4A | 2B | 0 | 49 | D7 | 3B | 11 |
| Octal | 22 | 50 | 106 | 112 | 53 | 0 | 111 | 327 | 73 | 21 |
| Binary | 10010 | 101000 | 1000110 | 1001010 | 101011 | 0 | 1001001 | 11010111 | 111011 | 10001 |
Color Harmonies of #122846
Complementary color
Monochromatic Colors of #122846
Black with #122846
Text Example
Text Example
White with #122846
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #122846; }
p { color: rgb(18,40,70); }
H1.HeaderClassName
{
color: #122846;
}
.AnyTagClassName
{
color: #122846;
}
</style>
background-color css
<style>
a { background-color: #122846; }
a { background-color: rgb(18,40,70); }
div.DivClassName
{
background-color: #122846;
}
.BgClassName
{
background-color: #122846;
}
</style>
border-color css
<style>
span { border-color: #122846; }
span { border-color: rgb(18,40,70); }
td.TdClassName
{
border-color: #122846;
}
.TagClassName
{
border-color: #122846;
}
</style>