Shades of Midnight Blue #20157D
Tints of Midnight Blue #20157D
RGB
CMYK
RGB Variations
Color information
#20157D (or 0x20157D) is known color: Midnight Blue. HEX triplet: 20, 15 and 7D. RGB value is (32,21,125). Sum of RGB (Red+Green+Blue) = 32+21+125=178 (23% of max value = 765). Red value is 32 (12.89% from 255 or 17.98% from 178); Green value is 21 (8.59% from 255 or 11.80% from 178); Blue value is 125 (49.22% from 255 or 70.22% from 178); Max value from RGB is 125 - color contains mainly: blue. Hex color #20157D is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20157D is #DFEA82. Grayscale: #232323. Windows color (decimal): -14674563 or 8197408. OLE color: 8197408.
HSL color Cylindrical-coordinate representation of color #20157D: hue angle of 246.35º 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 #20157D is Cyan = 0.74, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 32 | 21 | 125 | - |
| CMYK | 0.74 | 0.83 | 0 | 0.51 |
| HSL | 246.35º | 0.71% | 0.29% | - |
| HSV(B) | 246.35º | 0.83% | 0.49% | - |
| XYZ | 4.57 | 2.32 | 19.61 | - |
| YUV | 36.15 | 178.14 | 125.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 21 | 125 | 0.74 | 0.83 | 0 | 0.51 | 246.35 | 0.71 | 0.29 |
| Hex | 20 | 15 | 7D | 4A | 53 | 0 | 33 | F6 | 47 | 1D |
| Octal | 40 | 25 | 175 | 112 | 123 | 0 | 63 | 366 | 107 | 35 |
| Binary | 100000 | 10101 | 1111101 | 1001010 | 1010011 | 0 | 110011 | 11110110 | 1000111 | 11101 |
Color Harmonies of #20157D
Complementary color
Monochromatic Colors of #20157D
Black with #20157D
Text Example
Text Example
White with #20157D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20157D; }
p { color: rgb(32,21,125); }
H1.HeaderClassName
{
color: #20157D;
}
.AnyTagClassName
{
color: #20157D;
}
</style>
background-color css
<style>
a { background-color: #20157D; }
a { background-color: rgb(32,21,125); }
div.DivClassName
{
background-color: #20157D;
}
.BgClassName
{
background-color: #20157D;
}
</style>
border-color css
<style>
span { border-color: #20157D; }
span { border-color: rgb(32,21,125); }
td.TdClassName
{
border-color: #20157D;
}
.TagClassName
{
border-color: #20157D;
}
</style>