Shades of Midnight Blue #20157F
Tints of Midnight Blue #20157F
RGB
CMYK
RGB Variations
Color information
#20157F (or 0x20157F) is known color: Midnight Blue. HEX triplet: 20, 15 and 7F. RGB value is (32,21,127). Sum of RGB (Red+Green+Blue) = 32+21+127=180 (23% of max value = 765). Red value is 32 (12.89% from 255 or 17.78% from 180); Green value is 21 (8.59% from 255 or 11.67% from 180); Blue value is 127 (50% from 255 or 70.56% from 180); Max value from RGB is 127 - color contains mainly: blue. Hex color #20157F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20157F is #DFEA80. Grayscale: #232323. Windows color (decimal): -14674561 or 8328480. OLE color: 8328480.
HSL color Cylindrical-coordinate representation of color #20157F: hue angle of 246.23º degrees, saturation: 0.72, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #20157F is Cyan = 0.75, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 32 | 21 | 127 | - |
| CMYK | 0.75 | 0.83 | 0 | 0.50 |
| HSL | 246.23º | 0.72% | 0.29% | - |
| HSV(B) | 246.23º | 0.83% | 0.5% | - |
| XYZ | 4.69 | 2.38 | 20.29 | - |
| YUV | 36.37 | 179.14 | 124.88 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 21 | 127 | 0.75 | 0.83 | 0 | 0.50 | 246.23 | 0.72 | 0.29 |
| Hex | 20 | 15 | 7F | 4B | 53 | 0 | 32 | F6 | 48 | 1D |
| Octal | 40 | 25 | 177 | 113 | 123 | 0 | 62 | 366 | 110 | 35 |
| Binary | 100000 | 10101 | 1111111 | 1001011 | 1010011 | 0 | 110010 | 11110110 | 1001000 | 11101 |
Color Harmonies of #20157F
Complementary color
Monochromatic Colors of #20157F
Black with #20157F
Text Example
Text Example
White with #20157F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20157F; }
p { color: rgb(32,21,127); }
H1.HeaderClassName
{
color: #20157F;
}
.AnyTagClassName
{
color: #20157F;
}
</style>
background-color css
<style>
a { background-color: #20157F; }
a { background-color: rgb(32,21,127); }
div.DivClassName
{
background-color: #20157F;
}
.BgClassName
{
background-color: #20157F;
}
</style>
border-color css
<style>
span { border-color: #20157F; }
span { border-color: rgb(32,21,127); }
td.TdClassName
{
border-color: #20157F;
}
.TagClassName
{
border-color: #20157F;
}
</style>