Shades of Midnight Blue #242170
Tints of Midnight Blue #242170
RGB
CMYK
RGB Variations
Color information
#242170 (or 0x242170) is known color: Midnight Blue. HEX triplet: 24, 21 and 70. RGB value is (36,33,112). Sum of RGB (Red+Green+Blue) = 36+33+112=181 (23% of max value = 765). Red value is 36 (14.45% from 255 or 19.89% from 181); Green value is 33 (13.28% from 255 or 18.23% from 181); Blue value is 112 (44.14% from 255 or 61.88% from 181); Max value from RGB is 112 - color contains mainly: blue. Hex color #242170 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #242170 is #DBDE8F. Grayscale: #2A2A2A. Windows color (decimal): -14409360 or 7348516. OLE color: 7348516.
HSL color Cylindrical-coordinate representation of color #242170: hue angle of 242.28º degrees, saturation: 0.54, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #242170 is Cyan = 0.68, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 36 | 33 | 112 | - |
| CMYK | 0.68 | 0.71 | 0 | 0.56 |
| HSL | 242.28º | 0.54% | 0.28% | - |
| HSV(B) | 242.28º | 0.71% | 0.44% | - |
| XYZ | 4.2 | 2.63 | 15.62 | - |
| YUV | 42.9 | 166.99 | 123.08 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 36 | 33 | 112 | 0.68 | 0.71 | 0 | 0.56 | 242.28 | 0.54 | 0.28 |
| Hex | 24 | 21 | 70 | 44 | 47 | 0 | 38 | F2 | 36 | 1C |
| Octal | 44 | 41 | 160 | 104 | 107 | 0 | 70 | 362 | 66 | 34 |
| Binary | 100100 | 100001 | 1110000 | 1000100 | 1000111 | 0 | 111000 | 11110010 | 110110 | 11100 |
Color Harmonies of #242170
Complementary color
Monochromatic Colors of #242170
Black with #242170
Text Example
Text Example
White with #242170
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #242170; }
p { color: rgb(36,33,112); }
H1.HeaderClassName
{
color: #242170;
}
.AnyTagClassName
{
color: #242170;
}
</style>
background-color css
<style>
a { background-color: #242170; }
a { background-color: rgb(36,33,112); }
div.DivClassName
{
background-color: #242170;
}
.BgClassName
{
background-color: #242170;
}
</style>
border-color css
<style>
span { border-color: #242170; }
span { border-color: rgb(36,33,112); }
td.TdClassName
{
border-color: #242170;
}
.TagClassName
{
border-color: #242170;
}
</style>