Shades of Midnight Blue #18287A
Tints of Midnight Blue #18287A
RGB
CMYK
RGB Variations
Color information
#18287A (or 0x18287A) is known color: Midnight Blue. HEX triplet: 18, 28 and 7A. RGB value is (24,40,122). Sum of RGB (Red+Green+Blue) = 24+40+122=186 (24% of max value = 765). Red value is 24 (9.77% from 255 or 12.90% from 186); Green value is 40 (16.02% from 255 or 21.51% from 186); Blue value is 122 (48.05% from 255 or 65.59% from 186); Max value from RGB is 122 - color contains mainly: blue. Hex color #18287A is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #18287A is #E7D785. Grayscale: #2C2C2C. Windows color (decimal): -15193990 or 8005656. OLE color: 8005656.
HSL color Cylindrical-coordinate representation of color #18287A: hue angle of 230.2º degrees, saturation: 0.67, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #18287A is Cyan = 0.80, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 24 | 40 | 122 | - |
| CMYK | 0.80 | 0.67 | 0 | 0.52 |
| HSL | 230.2º | 0.67% | 0.29% | - |
| HSV(B) | 230.2º | 0.8% | 0.48% | - |
| XYZ | 4.65 | 3.12 | 18.77 | - |
| YUV | 44.56 | 171.7 | 113.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 40 | 122 | 0.80 | 0.67 | 0 | 0.52 | 230.2 | 0.67 | 0.29 |
| Hex | 18 | 28 | 7A | 50 | 43 | 0 | 34 | E6 | 43 | 1D |
| Octal | 30 | 50 | 172 | 120 | 103 | 0 | 64 | 346 | 103 | 35 |
| Binary | 11000 | 101000 | 1111010 | 1010000 | 1000011 | 0 | 110100 | 11100110 | 1000011 | 11101 |
Color Harmonies of #18287A
Complementary color
Monochromatic Colors of #18287A
Black with #18287A
Text Example
Text Example
White with #18287A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18287A; }
p { color: rgb(24,40,122); }
H1.HeaderClassName
{
color: #18287A;
}
.AnyTagClassName
{
color: #18287A;
}
</style>
background-color css
<style>
a { background-color: #18287A; }
a { background-color: rgb(24,40,122); }
div.DivClassName
{
background-color: #18287A;
}
.BgClassName
{
background-color: #18287A;
}
</style>
border-color css
<style>
span { border-color: #18287A; }
span { border-color: rgb(24,40,122); }
td.TdClassName
{
border-color: #18287A;
}
.TagClassName
{
border-color: #18287A;
}
</style>