Shades of Midnight #1F2938
Tints of Midnight #1F2938
RGB
CMYK
RGB Variations
Color information
#1F2938 (or 0x1F2938) is known color: Midnight. HEX triplet: 1F, 29 and 38. RGB value is (31,41,56). Sum of RGB (Red+Green+Blue) = 31+41+56=128 (16% of max value = 765). Red value is 31 (12.5% from 255 or 24.22% from 128); Green value is 41 (16.41% from 255 or 32.03% from 128); Blue value is 56 (22.27% from 255 or 43.75% from 128); Max value from RGB is 56 - color contains mainly: blue. Hex color #1F2938 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2938 is #E0D6C7. Grayscale: #272727. Windows color (decimal): -14735048 or 3680543. OLE color: 3680543.
HSL color Cylindrical-coordinate representation of color #1F2938: hue angle of 216º degrees, saturation: 0.29, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.22% and HSV saturation: 0.45%. Process color model (Four color, CMYK) of #1F2938 is Cyan = 0.45, Magento = 0.27, Yellow = 0 and Black (K on CMYK) = 0.78.
Color convert
| RGB | 31 | 41 | 56 | - |
| CMYK | 0.45 | 0.27 | 0 | 0.78 |
| HSL | 216º | 0.29% | 0.17% | - |
| HSV(B) | 216º | 0.45% | 0.22% | - |
| XYZ | 2.07 | 2.16 | 4.05 | - |
| YUV | 39.72 | 137.19 | 121.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 56 | 0.45 | 0.27 | 0 | 0.78 | 216 | 0.29 | 0.17 |
| Hex | 1F | 29 | 38 | 2D | 1B | 0 | 4E | D8 | 1D | 11 |
| Octal | 37 | 51 | 70 | 55 | 33 | 0 | 116 | 330 | 35 | 21 |
| Binary | 11111 | 101001 | 111000 | 101101 | 11011 | 0 | 1001110 | 11011000 | 11101 | 10001 |
Color Harmonies of #1F2938
Complementary color
Monochromatic Colors of #1F2938
Black with #1F2938
Text Example
Text Example
White with #1F2938
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2938; }
p { color: rgb(31,41,56); }
H1.HeaderClassName
{
color: #1F2938;
}
.AnyTagClassName
{
color: #1F2938;
}
</style>
background-color css
<style>
a { background-color: #1F2938; }
a { background-color: rgb(31,41,56); }
div.DivClassName
{
background-color: #1F2938;
}
.BgClassName
{
background-color: #1F2938;
}
</style>
border-color css
<style>
span { border-color: #1F2938; }
span { border-color: rgb(31,41,56); }
td.TdClassName
{
border-color: #1F2938;
}
.TagClassName
{
border-color: #1F2938;
}
</style>