Shades of Midnight Blue #18287F
Tints of Midnight Blue #18287F
RGB
CMYK
RGB Variations
Color information
#18287F (or 0x18287F) is known color: Midnight Blue. HEX triplet: 18, 28 and 7F. RGB value is (24,40,127). Sum of RGB (Red+Green+Blue) = 24+40+127=191 (25% of max value = 765). Red value is 24 (9.77% from 255 or 12.57% from 191); Green value is 40 (16.02% from 255 or 20.94% from 191); Blue value is 127 (50% from 255 or 66.49% from 191); Max value from RGB is 127 - color contains mainly: blue. Hex color #18287F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #18287F is #E7D780. Grayscale: #2C2C2C. Windows color (decimal): -15193985 or 8333336. OLE color: 8333336.
HSL color Cylindrical-coordinate representation of color #18287F: hue angle of 230.68º degrees, saturation: 0.68, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #18287F is Cyan = 0.81, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 24 | 40 | 127 | - |
| CMYK | 0.81 | 0.69 | 0 | 0.50 |
| HSL | 230.68º | 0.68% | 0.3% | - |
| HSV(B) | 230.68º | 0.81% | 0.5% | - |
| XYZ | 4.97 | 3.24 | 20.44 | - |
| YUV | 45.13 | 174.2 | 112.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 40 | 127 | 0.81 | 0.69 | 0 | 0.50 | 230.68 | 0.68 | 0.3 |
| Hex | 18 | 28 | 7F | 51 | 45 | 0 | 32 | E7 | 44 | 1E |
| Octal | 30 | 50 | 177 | 121 | 105 | 0 | 62 | 347 | 104 | 36 |
| Binary | 11000 | 101000 | 1111111 | 1010001 | 1000101 | 0 | 110010 | 11100111 | 1000100 | 11110 |
Color Harmonies of #18287F
Complementary color
Monochromatic Colors of #18287F
Black with #18287F
Text Example
Text Example
White with #18287F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #18287F; }
p { color: rgb(24,40,127); }
H1.HeaderClassName
{
color: #18287F;
}
.AnyTagClassName
{
color: #18287F;
}
</style>
background-color css
<style>
a { background-color: #18287F; }
a { background-color: rgb(24,40,127); }
div.DivClassName
{
background-color: #18287F;
}
.BgClassName
{
background-color: #18287F;
}
</style>
border-color css
<style>
span { border-color: #18287F; }
span { border-color: rgb(24,40,127); }
td.TdClassName
{
border-color: #18287F;
}
.TagClassName
{
border-color: #18287F;
}
</style>