Shades of Midnight #1F2F46
Tints of Midnight #1F2F46
RGB
CMYK
RGB Variations
Color information
#1F2F46 (or 0x1F2F46) is known color: Midnight. HEX triplet: 1F, 2F and 46. RGB value is (31,47,70). Sum of RGB (Red+Green+Blue) = 31+47+70=148 (19% of max value = 765). Red value is 31 (12.5% from 255 or 20.95% from 148); Green value is 47 (18.75% from 255 or 31.76% from 148); Blue value is 70 (27.73% from 255 or 47.30% from 148); Max value from RGB is 70 - color contains mainly: blue. Hex color #1F2F46 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2F46 is #E0D0B9. Grayscale: #2C2C2C. Windows color (decimal): -14733498 or 4599583. OLE color: 4599583.
HSL color Cylindrical-coordinate representation of color #1F2F46: hue angle of 215.38º degrees, saturation: 0.39, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.27% and HSV saturation: 0.56%. Process color model (Four color, CMYK) of #1F2F46 is Cyan = 0.56, Magento = 0.33, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 31 | 47 | 70 | - |
| CMYK | 0.56 | 0.33 | 0 | 0.73 |
| HSL | 215.38º | 0.39% | 0.2% | - |
| HSV(B) | 215.38º | 0.56% | 0.27% | - |
| XYZ | 2.69 | 2.77 | 6.19 | - |
| YUV | 44.84 | 142.2 | 118.13 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 47 | 70 | 0.56 | 0.33 | 0 | 0.73 | 215.38 | 0.39 | 0.2 |
| Hex | 1F | 2F | 46 | 38 | 21 | 0 | 49 | D7 | 27 | 14 |
| Octal | 37 | 57 | 106 | 70 | 41 | 0 | 111 | 327 | 47 | 24 |
| Binary | 11111 | 101111 | 1000110 | 111000 | 100001 | 0 | 1001001 | 11010111 | 100111 | 10100 |
Color Harmonies of #1F2F46
Complementary color
Monochromatic Colors of #1F2F46
Black with #1F2F46
Text Example
Text Example
White with #1F2F46
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2F46; }
p { color: rgb(31,47,70); }
H1.HeaderClassName
{
color: #1F2F46;
}
.AnyTagClassName
{
color: #1F2F46;
}
</style>
background-color css
<style>
a { background-color: #1F2F46; }
a { background-color: rgb(31,47,70); }
div.DivClassName
{
background-color: #1F2F46;
}
.BgClassName
{
background-color: #1F2F46;
}
</style>
border-color css
<style>
span { border-color: #1F2F46; }
span { border-color: rgb(31,47,70); }
td.TdClassName
{
border-color: #1F2F46;
}
.TagClassName
{
border-color: #1F2F46;
}
</style>