Shades of Midnight Blue #182A81
Tints of Midnight Blue #182A81
RGB
CMYK
RGB Variations
Color information
#182A81 (or 0x182A81) is known color: Midnight Blue. HEX triplet: 18, 2A and 81. RGB value is (24,42,129). Sum of RGB (Red+Green+Blue) = 24+42+129=195 (25% of max value = 765). Red value is 24 (9.77% from 255 or 12.31% from 195); Green value is 42 (16.80% from 255 or 21.54% from 195); Blue value is 129 (50.78% from 255 or 66.15% from 195); Max value from RGB is 129 - color contains mainly: blue. Hex color #182A81 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #182A81 is #E7D57E. Grayscale: #2E2E2E. Windows color (decimal): -15193471 or 8464920. OLE color: 8464920.
HSL color Cylindrical-coordinate representation of color #182A81: hue angle of 229.71º degrees, saturation: 0.69, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #182A81 is Cyan = 0.81, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 24 | 42 | 129 | - |
| CMYK | 0.81 | 0.67 | 0 | 0.49 |
| HSL | 229.71º | 0.69% | 0.3% | - |
| HSV(B) | 229.71º | 0.81% | 0.51% | - |
| XYZ | 5.17 | 3.44 | 21.16 | - |
| YUV | 46.54 | 174.54 | 111.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 42 | 129 | 0.81 | 0.67 | 0 | 0.49 | 229.71 | 0.69 | 0.3 |
| Hex | 18 | 2A | 81 | 51 | 43 | 0 | 31 | E6 | 45 | 1E |
| Octal | 30 | 52 | 201 | 121 | 103 | 0 | 61 | 346 | 105 | 36 |
| Binary | 11000 | 101010 | 10000001 | 1010001 | 1000011 | 0 | 110001 | 11100110 | 1000101 | 11110 |
Color Harmonies of #182A81
Complementary color
Monochromatic Colors of #182A81
Black with #182A81
Text Example
Text Example
White with #182A81
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #182A81; }
p { color: rgb(24,42,129); }
H1.HeaderClassName
{
color: #182A81;
}
.AnyTagClassName
{
color: #182A81;
}
</style>
background-color css
<style>
a { background-color: #182A81; }
a { background-color: rgb(24,42,129); }
div.DivClassName
{
background-color: #182A81;
}
.BgClassName
{
background-color: #182A81;
}
</style>
border-color css
<style>
span { border-color: #182A81; }
span { border-color: rgb(24,42,129); }
td.TdClassName
{
border-color: #182A81;
}
.TagClassName
{
border-color: #182A81;
}
</style>