Shades of Midnight #182A42
Tints of Midnight #182A42
RGB
CMYK
RGB Variations
Color information
#182A42 (or 0x182A42) is known color: Midnight. HEX triplet: 18, 2A and 42. RGB value is (24,42,66). Sum of RGB (Red+Green+Blue) = 24+42+66=132 (17% of max value = 765). Red value is 24 (9.77% from 255 or 18.18% from 132); Green value is 42 (16.80% from 255 or 31.82% from 132); Blue value is 66 (26.17% from 255 or 50% from 132); Max value from RGB is 66 - color contains mainly: blue. Hex color #182A42 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #182A42 is #E7D5BD. Grayscale: #272727. Windows color (decimal): -15193534 or 4336152. OLE color: 4336152.
HSL color Cylindrical-coordinate representation of color #182A42: hue angle of 214.29º 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 #182A42 is Cyan = 0.64, Magento = 0.36, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 24 | 42 | 66 | - |
| CMYK | 0.64 | 0.36 | 0 | 0.74 |
| HSL | 214.29º | 0.47% | 0.18% | - |
| HSV(B) | 214.29º | 0.64% | 0.26% | - |
| XYZ | 2.19 | 2.24 | 5.47 | - |
| YUV | 39.35 | 143.04 | 117.05 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 42 | 66 | 0.64 | 0.36 | 0 | 0.74 | 214.29 | 0.47 | 0.18 |
| Hex | 18 | 2A | 42 | 40 | 24 | 0 | 4A | D6 | 2F | 12 |
| Octal | 30 | 52 | 102 | 100 | 44 | 0 | 112 | 326 | 57 | 22 |
| Binary | 11000 | 101010 | 1000010 | 1000000 | 100100 | 0 | 1001010 | 11010110 | 101111 | 10010 |
Color Harmonies of #182A42
Complementary color
Monochromatic Colors of #182A42
Black with #182A42
Text Example
Text Example
White with #182A42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #182A42; }
p { color: rgb(24,42,66); }
H1.HeaderClassName
{
color: #182A42;
}
.AnyTagClassName
{
color: #182A42;
}
</style>
background-color css
<style>
a { background-color: #182A42; }
a { background-color: rgb(24,42,66); }
div.DivClassName
{
background-color: #182A42;
}
.BgClassName
{
background-color: #182A42;
}
</style>
border-color css
<style>
span { border-color: #182A42; }
span { border-color: rgb(24,42,66); }
td.TdClassName
{
border-color: #182A42;
}
.TagClassName
{
border-color: #182A42;
}
</style>