Shades of Midnight Blue #182A7F
Tints of Midnight Blue #182A7F
RGB
CMYK
RGB Variations
Color information
#182A7F (or 0x182A7F) is known color: Midnight Blue. HEX triplet: 18, 2A and 7F. RGB value is (24,42,127). Sum of RGB (Red+Green+Blue) = 24+42+127=193 (25% of max value = 765). Red value is 24 (9.77% from 255 or 12.44% from 193); Green value is 42 (16.80% from 255 or 21.76% from 193); Blue value is 127 (50% from 255 or 65.80% from 193); Max value from RGB is 127 - color contains mainly: blue. Hex color #182A7F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #182A7F is #E7D580. Grayscale: #2D2D2D. Windows color (decimal): -15193473 or 8333848. OLE color: 8333848.
HSL color Cylindrical-coordinate representation of color #182A7F: hue angle of 229.51º 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 #182A7F is Cyan = 0.81, Magento = 0.67, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 24 | 42 | 127 | - |
| CMYK | 0.81 | 0.67 | 0 | 0.50 |
| HSL | 229.51º | 0.68% | 0.3% | - |
| HSV(B) | 229.51º | 0.81% | 0.5% | - |
| XYZ | 5.04 | 3.38 | 20.47 | - |
| YUV | 46.31 | 173.54 | 112.09 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 42 | 127 | 0.81 | 0.67 | 0 | 0.50 | 229.51 | 0.68 | 0.3 |
| Hex | 18 | 2A | 7F | 51 | 43 | 0 | 32 | E6 | 44 | 1E |
| Octal | 30 | 52 | 177 | 121 | 103 | 0 | 62 | 346 | 104 | 36 |
| Binary | 11000 | 101010 | 1111111 | 1010001 | 1000011 | 0 | 110010 | 11100110 | 1000100 | 11110 |
Color Harmonies of #182A7F
Complementary color
Monochromatic Colors of #182A7F
Black with #182A7F
Text Example
Text Example
White with #182A7F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #182A7F; }
p { color: rgb(24,42,127); }
H1.HeaderClassName
{
color: #182A7F;
}
.AnyTagClassName
{
color: #182A7F;
}
</style>
background-color css
<style>
a { background-color: #182A7F; }
a { background-color: rgb(24,42,127); }
div.DivClassName
{
background-color: #182A7F;
}
.BgClassName
{
background-color: #182A7F;
}
</style>
border-color css
<style>
span { border-color: #182A7F; }
span { border-color: rgb(24,42,127); }
td.TdClassName
{
border-color: #182A7F;
}
.TagClassName
{
border-color: #182A7F;
}
</style>