Shades of Midnight Blue #182A78
Tints of Midnight Blue #182A78
RGB
CMYK
RGB Variations
Color information
#182A78 (or 0x182A78) is known color: Midnight Blue. HEX triplet: 18, 2A and 78. RGB value is (24,42,120). Sum of RGB (Red+Green+Blue) = 24+42+120=186 (24% of max value = 765). Red value is 24 (9.77% from 255 or 12.90% from 186); Green value is 42 (16.80% from 255 or 22.58% from 186); Blue value is 120 (47.27% from 255 or 64.52% from 186); Max value from RGB is 120 - color contains mainly: blue. Hex color #182A78 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #182A78 is #E7D587. Grayscale: #2D2D2D. Windows color (decimal): -15193480 or 7875096. OLE color: 7875096.
HSL color Cylindrical-coordinate representation of color #182A78: hue angle of 228.75º degrees, saturation: 0.67, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #182A78 is Cyan = 0.8, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 24 | 42 | 120 | - |
| CMYK | 0.8 | 0.65 | 0 | 0.53 |
| HSL | 228.75º | 0.67% | 0.28% | - |
| HSV(B) | 228.75º | 0.8% | 0.47% | - |
| XYZ | 4.59 | 3.21 | 18.15 | - |
| YUV | 45.51 | 170.04 | 112.66 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 24 | 42 | 120 | 0.8 | 0.65 | 0 | 0.53 | 228.75 | 0.67 | 0.28 |
| Hex | 18 | 2A | 78 | 50 | 41 | 0 | 35 | E5 | 43 | 1C |
| Octal | 30 | 52 | 170 | 120 | 101 | 0 | 65 | 345 | 103 | 34 |
| Binary | 11000 | 101010 | 1111000 | 1010000 | 1000001 | 0 | 110101 | 11100101 | 1000011 | 11100 |
Color Harmonies of #182A78
Complementary color
Monochromatic Colors of #182A78
Black with #182A78
Text Example
Text Example
White with #182A78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #182A78; }
p { color: rgb(24,42,120); }
H1.HeaderClassName
{
color: #182A78;
}
.AnyTagClassName
{
color: #182A78;
}
</style>
background-color css
<style>
a { background-color: #182A78; }
a { background-color: rgb(24,42,120); }
div.DivClassName
{
background-color: #182A78;
}
.BgClassName
{
background-color: #182A78;
}
</style>
border-color css
<style>
span { border-color: #182A78; }
span { border-color: rgb(24,42,120); }
td.TdClassName
{
border-color: #182A78;
}
.TagClassName
{
border-color: #182A78;
}
</style>