Shades of Midnight Blue #182A87
Tints of Midnight Blue #182A87
RGB
CMYK
RGB Variations
Color information
#182A87 (or 0x182A87) is known color: Midnight Blue. HEX triplet: 18, 2A and 87. RGB value is (24,42,135). Sum of RGB (Red+Green+Blue) = 24+42+135=201 (26% of max value = 765). Red value is 24 (9.77% from 255 or 11.94% from 201); Green value is 42 (16.80% from 255 or 20.90% from 201); Blue value is 135 (53.12% from 255 or 67.16% from 201); Max value from RGB is 135 - color contains mainly: blue. Hex color #182A87 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #182A87 is #E7D578. Grayscale: #2E2E2E. Windows color (decimal): -15193465 or 8858136. OLE color: 8858136.
HSL color Cylindrical-coordinate representation of color #182A87: hue angle of 230.27º degrees, saturation: 0.7, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #182A87 is Cyan = 0.82, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 24 | 42 | 135 | - |
| CMYK | 0.82 | 0.69 | 0 | 0.47 |
| HSL | 230.27º | 0.7% | 0.31% | - |
| HSV(B) | 230.27º | 0.82% | 0.53% | - |
| XYZ | 5.58 | 3.6 | 23.32 | - |
| YUV | 47.22 | 177.54 | 111.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 42 | 135 | 0.82 | 0.69 | 0 | 0.47 | 230.27 | 0.7 | 0.31 |
| Hex | 18 | 2A | 87 | 52 | 45 | 0 | 2F | E6 | 46 | 1F |
| Octal | 30 | 52 | 207 | 122 | 105 | 0 | 57 | 346 | 106 | 37 |
| Binary | 11000 | 101010 | 10000111 | 1010010 | 1000101 | 0 | 101111 | 11100110 | 1000110 | 11111 |
Color Harmonies of #182A87
Complementary color
Monochromatic Colors of #182A87
Black with #182A87
Text Example
Text Example
White with #182A87
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #182A87; }
p { color: rgb(24,42,135); }
H1.HeaderClassName
{
color: #182A87;
}
.AnyTagClassName
{
color: #182A87;
}
</style>
background-color css
<style>
a { background-color: #182A87; }
a { background-color: rgb(24,42,135); }
div.DivClassName
{
background-color: #182A87;
}
.BgClassName
{
background-color: #182A87;
}
</style>
border-color css
<style>
span { border-color: #182A87; }
span { border-color: rgb(24,42,135); }
td.TdClassName
{
border-color: #182A87;
}
.TagClassName
{
border-color: #182A87;
}
</style>