Shades of Midnight #18304E
Tints of Midnight #18304E
RGB
CMYK
RGB Variations
Color information
#18304E (or 0x18304E) is known color: Midnight. HEX triplet: 18, 30 and 4E. RGB value is (24,48,78). Sum of RGB (Red+Green+Blue) = 24+48+78=150 (19% of max value = 765). Red value is 24 (9.77% from 255 or 16% from 150); Green value is 48 (19.14% from 255 or 32% from 150); Blue value is 78 (30.86% from 255 or 52% from 150); Max value from RGB is 78 - color contains mainly: blue. Hex color #18304E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #18304E is #E7CFB1. Grayscale: #2C2C2C. Windows color (decimal): -15191986 or 5124120. OLE color: 5124120.
HSL color Cylindrical-coordinate representation of color #18304E: hue angle of 213.33º degrees, saturation: 0.53, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #18304E is Cyan = 0.69, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 24 | 48 | 78 | - |
| CMYK | 0.69 | 0.38 | 0 | 0.69 |
| HSL | 213.33º | 0.53% | 0.2% | - |
| HSV(B) | 213.33º | 0.69% | 0.31% | - |
| XYZ | 2.81 | 2.86 | 7.61 | - |
| YUV | 44.24 | 147.05 | 113.56 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 48 | 78 | 0.69 | 0.38 | 0 | 0.69 | 213.33 | 0.53 | 0.2 |
| Hex | 18 | 30 | 4E | 45 | 26 | 0 | 45 | D5 | 35 | 14 |
| Octal | 30 | 60 | 116 | 105 | 46 | 0 | 105 | 325 | 65 | 24 |
| Binary | 11000 | 110000 | 1001110 | 1000101 | 100110 | 0 | 1000101 | 11010101 | 110101 | 10100 |
Color Harmonies of #18304E
Complementary color
Monochromatic Colors of #18304E
Black with #18304E
Text Example
Text Example
White with #18304E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18304E; }
p { color: rgb(24,48,78); }
H1.HeaderClassName
{
color: #18304E;
}
.AnyTagClassName
{
color: #18304E;
}
</style>
background-color css
<style>
a { background-color: #18304E; }
a { background-color: rgb(24,48,78); }
div.DivClassName
{
background-color: #18304E;
}
.BgClassName
{
background-color: #18304E;
}
</style>
border-color css
<style>
span { border-color: #18304E; }
span { border-color: rgb(24,48,78); }
td.TdClassName
{
border-color: #18304E;
}
.TagClassName
{
border-color: #18304E;
}
</style>