Shades of Midnight #122642
Tints of Midnight #122642
RGB
CMYK
RGB Variations
Color information
#122642 (or 0x122642) is known color: Midnight. HEX triplet: 12, 26 and 42. RGB value is (18,38,66). Sum of RGB (Red+Green+Blue) = 18+38+66=122 (16% of max value = 765). Red value is 18 (7.42% from 255 or 14.75% from 122); Green value is 38 (15.23% from 255 or 31.15% from 122); Blue value is 66 (26.17% from 255 or 54.10% from 122); Max value from RGB is 66 - color contains mainly: blue. Hex color #122642 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #122642 is #EDD9BD. Grayscale: #232323. Windows color (decimal): -15587774 or 4335122. OLE color: 4335122.
HSL color Cylindrical-coordinate representation of color #122642: hue angle of 215º degrees, saturation: 0.57, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #122642 is Cyan = 0.73, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 18 | 38 | 66 | - |
| CMYK | 0.73 | 0.42 | 0 | 0.74 |
| HSL | 215º | 0.57% | 0.16% | - |
| HSV(B) | 215º | 0.73% | 0.26% | - |
| XYZ | 1.93 | 1.91 | 5.42 | - |
| YUV | 35.21 | 145.37 | 115.72 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 38 | 66 | 0.73 | 0.42 | 0 | 0.74 | 215 | 0.57 | 0.16 |
| Hex | 12 | 26 | 42 | 49 | 2A | 0 | 4A | D7 | 39 | 10 |
| Octal | 22 | 46 | 102 | 111 | 52 | 0 | 112 | 327 | 71 | 20 |
| Binary | 10010 | 100110 | 1000010 | 1001001 | 101010 | 0 | 1001010 | 11010111 | 111001 | 10000 |
Color Harmonies of #122642
Complementary color
Monochromatic Colors of #122642
Black with #122642
Text Example
Text Example
White with #122642
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #122642; }
p { color: rgb(18,38,66); }
H1.HeaderClassName
{
color: #122642;
}
.AnyTagClassName
{
color: #122642;
}
</style>
background-color css
<style>
a { background-color: #122642; }
a { background-color: rgb(18,38,66); }
div.DivClassName
{
background-color: #122642;
}
.BgClassName
{
background-color: #122642;
}
</style>
border-color css
<style>
span { border-color: #122642; }
span { border-color: rgb(18,38,66); }
td.TdClassName
{
border-color: #122642;
}
.TagClassName
{
border-color: #122642;
}
</style>