Shades of Midnight #1F2A3D
Tints of Midnight #1F2A3D
RGB
CMYK
RGB Variations
Color information
#1F2A3D (or 0x1F2A3D) is known color: Midnight. HEX triplet: 1F, 2A and 3D. RGB value is (31,42,61). Sum of RGB (Red+Green+Blue) = 31+42+61=134 (17% of max value = 765). Red value is 31 (12.5% from 255 or 23.13% from 134); Green value is 42 (16.80% from 255 or 31.34% from 134); Blue value is 61 (24.22% from 255 or 45.52% from 134); Max value from RGB is 61 - color contains mainly: blue. Hex color #1F2A3D is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2A3D is #E0D5C2. Grayscale: #282828. Windows color (decimal): -14734787 or 4008479. OLE color: 4008479.
HSL color Cylindrical-coordinate representation of color #1F2A3D: hue angle of 218º degrees, saturation: 0.33, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.24% and HSV saturation: 0.49%. Process color model (Four color, CMYK) of #1F2A3D is Cyan = 0.49, Magento = 0.31, Yellow = 0 and Black (K on CMYK) = 0.76.
Color convert
| RGB | 31 | 42 | 61 | - |
| CMYK | 0.49 | 0.31 | 0 | 0.76 |
| HSL | 218º | 0.33% | 0.18% | - |
| HSV(B) | 218º | 0.49% | 0.24% | - |
| XYZ | 2.24 | 2.28 | 4.74 | - |
| YUV | 40.88 | 139.36 | 120.96 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 61 | 0.49 | 0.31 | 0 | 0.76 | 218 | 0.33 | 0.18 |
| Hex | 1F | 2A | 3D | 31 | 1F | 0 | 4C | DA | 21 | 12 |
| Octal | 37 | 52 | 75 | 61 | 37 | 0 | 114 | 332 | 41 | 22 |
| Binary | 11111 | 101010 | 111101 | 110001 | 11111 | 0 | 1001100 | 11011010 | 100001 | 10010 |
Color Harmonies of #1F2A3D
Complementary color
Monochromatic Colors of #1F2A3D
Black with #1F2A3D
Text Example
Text Example
White with #1F2A3D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A3D; }
p { color: rgb(31,42,61); }
H1.HeaderClassName
{
color: #1F2A3D;
}
.AnyTagClassName
{
color: #1F2A3D;
}
</style>
background-color css
<style>
a { background-color: #1F2A3D; }
a { background-color: rgb(31,42,61); }
div.DivClassName
{
background-color: #1F2A3D;
}
.BgClassName
{
background-color: #1F2A3D;
}
</style>
border-color css
<style>
span { border-color: #1F2A3D; }
span { border-color: rgb(31,42,61); }
td.TdClassName
{
border-color: #1F2A3D;
}
.TagClassName
{
border-color: #1F2A3D;
}
</style>