Shades of Midnight Blue #20157A
Tints of Midnight Blue #20157A
RGB
CMYK
RGB Variations
Color information
#20157A (or 0x20157A) is known color: Midnight Blue. HEX triplet: 20, 15 and 7A. RGB value is (32,21,122). Sum of RGB (Red+Green+Blue) = 32+21+122=175 (23% of max value = 765). Red value is 32 (12.89% from 255 or 18.29% from 175); Green value is 21 (8.59% from 255 or 12% from 175); Blue value is 122 (48.05% from 255 or 69.71% from 175); Max value from RGB is 122 - color contains mainly: blue. Hex color #20157A is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20157A is #DFEA85. Grayscale: #232323. Windows color (decimal): -14674566 or 8000800. OLE color: 8000800.
HSL color Cylindrical-coordinate representation of color #20157A: hue angle of 246.53º degrees, saturation: 0.71, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #20157A is Cyan = 0.74, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 32 | 21 | 122 | - |
| CMYK | 0.74 | 0.83 | 0 | 0.52 |
| HSL | 246.53º | 0.71% | 0.28% | - |
| HSV(B) | 246.53º | 0.83% | 0.48% | - |
| XYZ | 4.38 | 2.25 | 18.62 | - |
| YUV | 35.8 | 176.64 | 125.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 21 | 122 | 0.74 | 0.83 | 0 | 0.52 | 246.53 | 0.71 | 0.28 |
| Hex | 20 | 15 | 7A | 4A | 53 | 0 | 34 | F7 | 47 | 1C |
| Octal | 40 | 25 | 172 | 112 | 123 | 0 | 64 | 367 | 107 | 34 |
| Binary | 100000 | 10101 | 1111010 | 1001010 | 1010011 | 0 | 110100 | 11110111 | 1000111 | 11100 |
Color Harmonies of #20157A
Complementary color
Monochromatic Colors of #20157A
Black with #20157A
Text Example
Text Example
White with #20157A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20157A; }
p { color: rgb(32,21,122); }
H1.HeaderClassName
{
color: #20157A;
}
.AnyTagClassName
{
color: #20157A;
}
</style>
background-color css
<style>
a { background-color: #20157A; }
a { background-color: rgb(32,21,122); }
div.DivClassName
{
background-color: #20157A;
}
.BgClassName
{
background-color: #20157A;
}
</style>
border-color css
<style>
span { border-color: #20157A; }
span { border-color: rgb(32,21,122); }
td.TdClassName
{
border-color: #20157A;
}
.TagClassName
{
border-color: #20157A;
}
</style>