Shades of Midnight #182942
Tints of Midnight #182942
RGB
CMYK
RGB Variations
Color information
#182942 (or 0x182942) is known color: Midnight. HEX triplet: 18, 29 and 42. RGB value is (24,41,66). Sum of RGB (Red+Green+Blue) = 24+41+66=131 (17% of max value = 765). Red value is 24 (9.77% from 255 or 18.32% from 131); Green value is 41 (16.41% from 255 or 31.30% from 131); Blue value is 66 (26.17% from 255 or 50.38% from 131); Max value from RGB is 66 - color contains mainly: blue. Hex color #182942 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #182942 is #E7D6BD. Grayscale: #262626. Windows color (decimal): -15193790 or 4335896. OLE color: 4335896.
HSL color Cylindrical-coordinate representation of color #182942: hue angle of 215.71º degrees, saturation: 0.47, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.64%. Process color model (Four color, CMYK) of #182942 is Cyan = 0.64, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 24 | 41 | 66 | - |
| CMYK | 0.64 | 0.38 | 0 | 0.74 |
| HSL | 215.71º | 0.47% | 0.18% | - |
| HSV(B) | 215.71º | 0.64% | 0.26% | - |
| XYZ | 2.15 | 2.17 | 5.46 | - |
| YUV | 38.77 | 143.37 | 117.47 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 41 | 66 | 0.64 | 0.38 | 0 | 0.74 | 215.71 | 0.47 | 0.18 |
| Hex | 18 | 29 | 42 | 40 | 26 | 0 | 4A | D8 | 2F | 12 |
| Octal | 30 | 51 | 102 | 100 | 46 | 0 | 112 | 330 | 57 | 22 |
| Binary | 11000 | 101001 | 1000010 | 1000000 | 100110 | 0 | 1001010 | 11011000 | 101111 | 10010 |
Color Harmonies of #182942
Complementary color
Monochromatic Colors of #182942
Black with #182942
Text Example
Text Example
White with #182942
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #182942; }
p { color: rgb(24,41,66); }
H1.HeaderClassName
{
color: #182942;
}
.AnyTagClassName
{
color: #182942;
}
</style>
background-color css
<style>
a { background-color: #182942; }
a { background-color: rgb(24,41,66); }
div.DivClassName
{
background-color: #182942;
}
.BgClassName
{
background-color: #182942;
}
</style>
border-color css
<style>
span { border-color: #182942; }
span { border-color: rgb(24,41,66); }
td.TdClassName
{
border-color: #182942;
}
.TagClassName
{
border-color: #182942;
}
</style>