Shades of Midnight #18304C
Tints of Midnight #18304C
RGB
CMYK
RGB Variations
Color information
#18304C (or 0x18304C) is known color: Midnight. HEX triplet: 18, 30 and 4C. RGB value is (24,48,76). Sum of RGB (Red+Green+Blue) = 24+48+76=148 (19% of max value = 765). Red value is 24 (9.77% from 255 or 16.22% from 148); Green value is 48 (19.14% from 255 or 32.43% from 148); Blue value is 76 (30.08% from 255 or 51.35% from 148); Max value from RGB is 76 - color contains mainly: blue. Hex color #18304C is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #18304C is #E7CFB3. Grayscale: #2B2B2B. Windows color (decimal): -15191988 or 4993048. OLE color: 4993048.
HSL color Cylindrical-coordinate representation of color #18304C: hue angle of 212.31º degrees, saturation: 0.52, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.68%. Process color model (Four color, CMYK) of #18304C is Cyan = 0.68, Magento = 0.37, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 24 | 48 | 76 | - |
| CMYK | 0.68 | 0.37 | 0 | 0.70 |
| HSL | 212.31º | 0.52% | 0.2% | - |
| HSV(B) | 212.31º | 0.68% | 0.3% | - |
| XYZ | 2.74 | 2.83 | 7.24 | - |
| YUV | 44.02 | 146.05 | 113.72 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 48 | 76 | 0.68 | 0.37 | 0 | 0.70 | 212.31 | 0.52 | 0.2 |
| Hex | 18 | 30 | 4C | 44 | 25 | 0 | 46 | D4 | 34 | 14 |
| Octal | 30 | 60 | 114 | 104 | 45 | 0 | 106 | 324 | 64 | 24 |
| Binary | 11000 | 110000 | 1001100 | 1000100 | 100101 | 0 | 1000110 | 11010100 | 110100 | 10100 |
Color Harmonies of #18304C
Complementary color
Monochromatic Colors of #18304C
Black with #18304C
Text Example
Text Example
White with #18304C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18304C; }
p { color: rgb(24,48,76); }
H1.HeaderClassName
{
color: #18304C;
}
.AnyTagClassName
{
color: #18304C;
}
</style>
background-color css
<style>
a { background-color: #18304C; }
a { background-color: rgb(24,48,76); }
div.DivClassName
{
background-color: #18304C;
}
.BgClassName
{
background-color: #18304C;
}
</style>
border-color css
<style>
span { border-color: #18304C; }
span { border-color: rgb(24,48,76); }
td.TdClassName
{
border-color: #18304C;
}
.TagClassName
{
border-color: #18304C;
}
</style>