Shades of Midnight #122C51
Tints of Midnight #122C51
RGB
CMYK
RGB Variations
Color information
#122C51 (or 0x122C51) is known color: Midnight. HEX triplet: 12, 2C and 51. RGB value is (18,44,81). Sum of RGB (Red+Green+Blue) = 18+44+81=143 (18% of max value = 765). Red value is 18 (7.42% from 255 or 12.59% from 143); Green value is 44 (17.58% from 255 or 30.77% from 143); Blue value is 81 (32.03% from 255 or 56.64% from 143); Max value from RGB is 81 - color contains mainly: blue. Hex color #122C51 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #122C51 is #EDD3AE. Grayscale: #282828. Windows color (decimal): -15586223 or 5319698. OLE color: 5319698.
HSL color Cylindrical-coordinate representation of color #122C51: hue angle of 215.24º degrees, saturation: 0.64, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #122C51 is Cyan = 0.78, Magento = 0.46, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 18 | 44 | 81 | - |
| CMYK | 0.78 | 0.46 | 0 | 0.68 |
| HSL | 215.24º | 0.64% | 0.19% | - |
| HSV(B) | 215.24º | 0.78% | 0.32% | - |
| XYZ | 2.64 | 2.52 | 8.13 | - |
| YUV | 40.44 | 150.89 | 111.99 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 44 | 81 | 0.78 | 0.46 | 0 | 0.68 | 215.24 | 0.64 | 0.19 |
| Hex | 12 | 2C | 51 | 4E | 2E | 0 | 44 | D7 | 40 | 13 |
| Octal | 22 | 54 | 121 | 116 | 56 | 0 | 104 | 327 | 100 | 23 |
| Binary | 10010 | 101100 | 1010001 | 1001110 | 101110 | 0 | 1000100 | 11010111 | 1000000 | 10011 |
Color Harmonies of #122C51
Complementary color
Monochromatic Colors of #122C51
Black with #122C51
Text Example
Text Example
White with #122C51
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #122C51; }
p { color: rgb(18,44,81); }
H1.HeaderClassName
{
color: #122C51;
}
.AnyTagClassName
{
color: #122C51;
}
</style>
background-color css
<style>
a { background-color: #122C51; }
a { background-color: rgb(18,44,81); }
div.DivClassName
{
background-color: #122C51;
}
.BgClassName
{
background-color: #122C51;
}
</style>
border-color css
<style>
span { border-color: #122C51; }
span { border-color: rgb(18,44,81); }
td.TdClassName
{
border-color: #122C51;
}
.TagClassName
{
border-color: #122C51;
}
</style>