Shades of Midnight Express #1F2A46
Tints of Midnight Express #1F2A46
RGB
CMYK
RGB Variations
Color information
#1F2A46 (or 0x1F2A46) is known color: Midnight Express. HEX triplet: 1F, 2A and 46. RGB value is (31,42,70). Sum of RGB (Red+Green+Blue) = 31+42+70=143 (18% of max value = 765). Red value is 31 (12.5% from 255 or 21.68% from 143); Green value is 42 (16.80% from 255 or 29.37% from 143); Blue value is 70 (27.73% from 255 or 48.95% from 143); Max value from RGB is 70 - color contains mainly: blue. Hex color #1F2A46 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2A46 is #E0D5B9. Grayscale: #292929. Windows color (decimal): -14734778 or 4598303. OLE color: 4598303.
HSL color Cylindrical-coordinate representation of color #1F2A46: hue angle of 223.08º 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 #1F2A46 is Cyan = 0.56, Magento = 0.40, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 31 | 42 | 70 | - |
| CMYK | 0.56 | 0.40 | 0 | 0.73 |
| HSL | 223.08º | 0.39% | 0.2% | - |
| HSV(B) | 223.08º | 0.56% | 0.27% | - |
| XYZ | 2.5 | 2.39 | 6.12 | - |
| YUV | 41.9 | 143.86 | 120.22 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 70 | 0.56 | 0.40 | 0 | 0.73 | 223.08 | 0.39 | 0.2 |
| Hex | 1F | 2A | 46 | 38 | 28 | 0 | 49 | DF | 27 | 14 |
| Octal | 37 | 52 | 106 | 70 | 50 | 0 | 111 | 337 | 47 | 24 |
| Binary | 11111 | 101010 | 1000110 | 111000 | 101000 | 0 | 1001001 | 11011111 | 100111 | 10100 |
Color Harmonies of #1F2A46
Complementary color
Monochromatic Colors of #1F2A46
Black with #1F2A46
Text Example
Text Example
White with #1F2A46
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A46; }
p { color: rgb(31,42,70); }
H1.HeaderClassName
{
color: #1F2A46;
}
.AnyTagClassName
{
color: #1F2A46;
}
</style>
background-color css
<style>
a { background-color: #1F2A46; }
a { background-color: rgb(31,42,70); }
div.DivClassName
{
background-color: #1F2A46;
}
.BgClassName
{
background-color: #1F2A46;
}
</style>
border-color css
<style>
span { border-color: #1F2A46; }
span { border-color: rgb(31,42,70); }
td.TdClassName
{
border-color: #1F2A46;
}
.TagClassName
{
border-color: #1F2A46;
}
</style>