Shades of Midnight Blue #242A78
Tints of Midnight Blue #242A78
RGB
CMYK
RGB Variations
Color information
#242A78 (or 0x242A78) is known color: Midnight Blue. HEX triplet: 24, 2A and 78. RGB value is (36,42,120). Sum of RGB (Red+Green+Blue) = 36+42+120=198 (26% of max value = 765). Red value is 36 (14.45% from 255 or 18.18% from 198); Green value is 42 (16.80% from 255 or 21.21% from 198); Blue value is 120 (47.27% from 255 or 60.61% from 198); Max value from RGB is 120 - color contains mainly: blue. Hex color #242A78 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #242A78 is #DBD587. Grayscale: #303030. Windows color (decimal): -14407048 or 7875108. OLE color: 7875108.
HSL color Cylindrical-coordinate representation of color #242A78: hue angle of 235.71º degrees, saturation: 0.54, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #242A78 is Cyan = 0.7, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 36 | 42 | 120 | - |
| CMYK | 0.7 | 0.65 | 0 | 0.53 |
| HSL | 235.71º | 0.54% | 0.31% | - |
| HSV(B) | 235.71º | 0.7% | 0.47% | - |
| XYZ | 4.95 | 3.39 | 18.16 | - |
| YUV | 49.1 | 168.01 | 118.66 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 36 | 42 | 120 | 0.7 | 0.65 | 0 | 0.53 | 235.71 | 0.54 | 0.31 |
| Hex | 24 | 2A | 78 | 46 | 41 | 0 | 35 | EC | 36 | 1F |
| Octal | 44 | 52 | 170 | 106 | 101 | 0 | 65 | 354 | 66 | 37 |
| Binary | 100100 | 101010 | 1111000 | 1000110 | 1000001 | 0 | 110101 | 11101100 | 110110 | 11111 |
Color Harmonies of #242A78
Complementary color
Monochromatic Colors of #242A78
Black with #242A78
Text Example
Text Example
White with #242A78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #242A78; }
p { color: rgb(36,42,120); }
H1.HeaderClassName
{
color: #242A78;
}
.AnyTagClassName
{
color: #242A78;
}
</style>
background-color css
<style>
a { background-color: #242A78; }
a { background-color: rgb(36,42,120); }
div.DivClassName
{
background-color: #242A78;
}
.BgClassName
{
background-color: #242A78;
}
</style>
border-color css
<style>
span { border-color: #242A78; }
span { border-color: rgb(36,42,120); }
td.TdClassName
{
border-color: #242A78;
}
.TagClassName
{
border-color: #242A78;
}
</style>