Shades of Midnight #18304F
Tints of Midnight #18304F
RGB
CMYK
RGB Variations
Color information
#18304F (or 0x18304F) is known color: Midnight. HEX triplet: 18, 30 and 4F. RGB value is (24,48,79). Sum of RGB (Red+Green+Blue) = 24+48+79=151 (20% of max value = 765). Red value is 24 (9.77% from 255 or 15.89% from 151); Green value is 48 (19.14% from 255 or 31.79% from 151); Blue value is 79 (31.25% from 255 or 52.32% from 151); Max value from RGB is 79 - color contains mainly: blue. Hex color #18304F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #18304F is #E7CFB0. Grayscale: #2C2C2C. Windows color (decimal): -15191985 or 5189656. OLE color: 5189656.
HSL color Cylindrical-coordinate representation of color #18304F: hue angle of 213.82º degrees, saturation: 0.53, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #18304F is Cyan = 0.70, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 24 | 48 | 79 | - |
| CMYK | 0.70 | 0.39 | 0 | 0.69 |
| HSL | 213.82º | 0.53% | 0.2% | - |
| HSV(B) | 213.82º | 0.7% | 0.31% | - |
| XYZ | 2.84 | 2.87 | 7.8 | - |
| YUV | 44.36 | 147.55 | 113.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 48 | 79 | 0.70 | 0.39 | 0 | 0.69 | 213.82 | 0.53 | 0.2 |
| Hex | 18 | 30 | 4F | 46 | 27 | 0 | 45 | D6 | 35 | 14 |
| Octal | 30 | 60 | 117 | 106 | 47 | 0 | 105 | 326 | 65 | 24 |
| Binary | 11000 | 110000 | 1001111 | 1000110 | 100111 | 0 | 1000101 | 11010110 | 110101 | 10100 |
Color Harmonies of #18304F
Complementary color
Monochromatic Colors of #18304F
Black with #18304F
Text Example
Text Example
White with #18304F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18304F; }
p { color: rgb(24,48,79); }
H1.HeaderClassName
{
color: #18304F;
}
.AnyTagClassName
{
color: #18304F;
}
</style>
background-color css
<style>
a { background-color: #18304F; }
a { background-color: rgb(24,48,79); }
div.DivClassName
{
background-color: #18304F;
}
.BgClassName
{
background-color: #18304F;
}
</style>
border-color css
<style>
span { border-color: #18304F; }
span { border-color: rgb(24,48,79); }
td.TdClassName
{
border-color: #18304F;
}
.TagClassName
{
border-color: #18304F;
}
</style>