Shades of Midnight Blue #1F1F80
Tints of Midnight Blue #1F1F80
RGB
CMYK
RGB Variations
Color information
#1F1F80 (or 0x1F1F80) is known color: Midnight Blue. HEX triplet: 1F, 1F and 80. RGB value is (31,31,128). Sum of RGB (Red+Green+Blue) = 31+31+128=190 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.32% from 190); Green value is 31 (12.5% from 255 or 16.32% from 190); Blue value is 128 (50.39% from 255 or 67.37% from 190); Max value from RGB is 128 - color contains mainly: blue. Hex color #1F1F80 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F1F80 is #E0E07F. Grayscale: #292929. Windows color (decimal): -14737536 or 8396575. OLE color: 8396575.
HSL color Cylindrical-coordinate representation of color #1F1F80: hue angle of 240º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F1F80 is Cyan = 0.76, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 31 | 128 | - |
| CMYK | 0.76 | 0.76 | 0 | 0.50 |
| HSL | 240º | 0.61% | 0.31% | - |
| HSV(B) | 240º | 0.76% | 0.5% | - |
| XYZ | 4.95 | 2.83 | 20.71 | - |
| YUV | 42.06 | 176.5 | 120.11 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 31 | 128 | 0.76 | 0.76 | 0 | 0.50 | 240 | 0.61 | 0.31 |
| Hex | 1F | 1F | 80 | 4C | 4C | 0 | 32 | F0 | 3D | 1F |
| Octal | 37 | 37 | 200 | 114 | 114 | 0 | 62 | 360 | 75 | 37 |
| Binary | 11111 | 11111 | 10000000 | 1001100 | 1001100 | 0 | 110010 | 11110000 | 111101 | 11111 |
Color Harmonies of #1F1F80
Complementary color
Monochromatic Colors of #1F1F80
Black with #1F1F80
Text Example
Text Example
White with #1F1F80
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1F80; }
p { color: rgb(31,31,128); }
H1.HeaderClassName
{
color: #1F1F80;
}
.AnyTagClassName
{
color: #1F1F80;
}
</style>
background-color css
<style>
a { background-color: #1F1F80; }
a { background-color: rgb(31,31,128); }
div.DivClassName
{
background-color: #1F1F80;
}
.BgClassName
{
background-color: #1F1F80;
}
</style>
border-color css
<style>
span { border-color: #1F1F80; }
span { border-color: rgb(31,31,128); }
td.TdClassName
{
border-color: #1F1F80;
}
.TagClassName
{
border-color: #1F1F80;
}
</style>