Shades of Midnight Blue #20157E
Tints of Midnight Blue #20157E
RGB
CMYK
RGB Variations
Color information
#20157E (or 0x20157E) is known color: Midnight Blue. HEX triplet: 20, 15 and 7E. RGB value is (32,21,126). Sum of RGB (Red+Green+Blue) = 32+21+126=179 (23% of max value = 765). Red value is 32 (12.89% from 255 or 17.88% from 179); Green value is 21 (8.59% from 255 or 11.73% from 179); Blue value is 126 (49.61% from 255 or 70.39% from 179); Max value from RGB is 126 - color contains mainly: blue. Hex color #20157E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20157E is #DFEA81. Grayscale: #232323. Windows color (decimal): -14674562 or 8262944. OLE color: 8262944.
HSL color Cylindrical-coordinate representation of color #20157E: hue angle of 246.29º degrees, saturation: 0.71, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #20157E is Cyan = 0.75, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 32 | 21 | 126 | - |
| CMYK | 0.75 | 0.83 | 0 | 0.51 |
| HSL | 246.29º | 0.71% | 0.29% | - |
| HSV(B) | 246.29º | 0.83% | 0.49% | - |
| XYZ | 4.63 | 2.35 | 19.95 | - |
| YUV | 36.26 | 178.64 | 124.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 21 | 126 | 0.75 | 0.83 | 0 | 0.51 | 246.29 | 0.71 | 0.29 |
| Hex | 20 | 15 | 7E | 4B | 53 | 0 | 33 | F6 | 47 | 1D |
| Octal | 40 | 25 | 176 | 113 | 123 | 0 | 63 | 366 | 107 | 35 |
| Binary | 100000 | 10101 | 1111110 | 1001011 | 1010011 | 0 | 110011 | 11110110 | 1000111 | 11101 |
Color Harmonies of #20157E
Complementary color
Monochromatic Colors of #20157E
Black with #20157E
Text Example
Text Example
White with #20157E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20157E; }
p { color: rgb(32,21,126); }
H1.HeaderClassName
{
color: #20157E;
}
.AnyTagClassName
{
color: #20157E;
}
</style>
background-color css
<style>
a { background-color: #20157E; }
a { background-color: rgb(32,21,126); }
div.DivClassName
{
background-color: #20157E;
}
.BgClassName
{
background-color: #20157E;
}
</style>
border-color css
<style>
span { border-color: #20157E; }
span { border-color: rgb(32,21,126); }
td.TdClassName
{
border-color: #20157E;
}
.TagClassName
{
border-color: #20157E;
}
</style>