Shades of Midnight Blue #20157B
Tints of Midnight Blue #20157B
RGB
CMYK
RGB Variations
Color information
#20157B (or 0x20157B) is known color: Midnight Blue. HEX triplet: 20, 15 and 7B. RGB value is (32,21,123). Sum of RGB (Red+Green+Blue) = 32+21+123=176 (23% of max value = 765). Red value is 32 (12.89% from 255 or 18.18% from 176); Green value is 21 (8.59% from 255 or 11.93% from 176); Blue value is 123 (48.44% from 255 or 69.89% from 176); Max value from RGB is 123 - color contains mainly: blue. Hex color #20157B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20157B is #DFEA84. Grayscale: #232323. Windows color (decimal): -14674565 or 8066336. OLE color: 8066336.
HSL color Cylindrical-coordinate representation of color #20157B: hue angle of 246.47º 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 #20157B is Cyan = 0.74, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 32 | 21 | 123 | - |
| CMYK | 0.74 | 0.83 | 0 | 0.52 |
| HSL | 246.47º | 0.71% | 0.28% | - |
| HSV(B) | 246.47º | 0.83% | 0.48% | - |
| XYZ | 4.44 | 2.27 | 18.94 | - |
| YUV | 35.92 | 177.14 | 125.21 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 21 | 123 | 0.74 | 0.83 | 0 | 0.52 | 246.47 | 0.71 | 0.28 |
| Hex | 20 | 15 | 7B | 4A | 53 | 0 | 34 | F6 | 47 | 1C |
| Octal | 40 | 25 | 173 | 112 | 123 | 0 | 64 | 366 | 107 | 34 |
| Binary | 100000 | 10101 | 1111011 | 1001010 | 1010011 | 0 | 110100 | 11110110 | 1000111 | 11100 |
Color Harmonies of #20157B
Complementary color
Monochromatic Colors of #20157B
Black with #20157B
Text Example
Text Example
White with #20157B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20157B; }
p { color: rgb(32,21,123); }
H1.HeaderClassName
{
color: #20157B;
}
.AnyTagClassName
{
color: #20157B;
}
</style>
background-color css
<style>
a { background-color: #20157B; }
a { background-color: rgb(32,21,123); }
div.DivClassName
{
background-color: #20157B;
}
.BgClassName
{
background-color: #20157B;
}
</style>
border-color css
<style>
span { border-color: #20157B; }
span { border-color: rgb(32,21,123); }
td.TdClassName
{
border-color: #20157B;
}
.TagClassName
{
border-color: #20157B;
}
</style>