Shades of Midnight #1F2F47
Tints of Midnight #1F2F47
RGB
CMYK
RGB Variations
Color information
#1F2F47 (or 0x1F2F47) is known color: Midnight. HEX triplet: 1F, 2F and 47. RGB value is (31,47,71). Sum of RGB (Red+Green+Blue) = 31+47+71=149 (19% of max value = 765). Red value is 31 (12.5% from 255 or 20.81% from 149); Green value is 47 (18.75% from 255 or 31.54% from 149); Blue value is 71 (28.12% from 255 or 47.65% from 149); Max value from RGB is 71 - color contains mainly: blue. Hex color #1F2F47 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2F47 is #E0D0B8. Grayscale: #2C2C2C. Windows color (decimal): -14733497 or 4665119. OLE color: 4665119.
HSL color Cylindrical-coordinate representation of color #1F2F47: hue angle of 216º degrees, saturation: 0.39, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.56%. Process color model (Four color, CMYK) of #1F2F47 is Cyan = 0.56, Magento = 0.34, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 31 | 47 | 71 | - |
| CMYK | 0.56 | 0.34 | 0 | 0.72 |
| HSL | 216º | 0.39% | 0.2% | - |
| HSV(B) | 216º | 0.56% | 0.28% | - |
| XYZ | 2.72 | 2.78 | 6.35 | - |
| YUV | 44.95 | 142.7 | 118.05 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 47 | 71 | 0.56 | 0.34 | 0 | 0.72 | 216 | 0.39 | 0.2 |
| Hex | 1F | 2F | 47 | 38 | 22 | 0 | 48 | D8 | 27 | 14 |
| Octal | 37 | 57 | 107 | 70 | 42 | 0 | 110 | 330 | 47 | 24 |
| Binary | 11111 | 101111 | 1000111 | 111000 | 100010 | 0 | 1001000 | 11011000 | 100111 | 10100 |
Color Harmonies of #1F2F47
Complementary color
Monochromatic Colors of #1F2F47
Black with #1F2F47
Text Example
Text Example
White with #1F2F47
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2F47; }
p { color: rgb(31,47,71); }
H1.HeaderClassName
{
color: #1F2F47;
}
.AnyTagClassName
{
color: #1F2F47;
}
</style>
background-color css
<style>
a { background-color: #1F2F47; }
a { background-color: rgb(31,47,71); }
div.DivClassName
{
background-color: #1F2F47;
}
.BgClassName
{
background-color: #1F2F47;
}
</style>
border-color css
<style>
span { border-color: #1F2F47; }
span { border-color: rgb(31,47,71); }
td.TdClassName
{
border-color: #1F2F47;
}
.TagClassName
{
border-color: #1F2F47;
}
</style>