Shades of Midnight #1A2F4D
Tints of Midnight #1A2F4D
RGB
CMYK
RGB Variations
Color information
#1A2F4D (or 0x1A2F4D) is known color: Midnight. HEX triplet: 1A, 2F and 4D. RGB value is (26,47,77). Sum of RGB (Red+Green+Blue) = 26+47+77=150 (19% of max value = 765). Red value is 26 (10.55% from 255 or 17.33% from 150); Green value is 47 (18.75% from 255 or 31.33% from 150); Blue value is 77 (30.47% from 255 or 51.33% from 150); Max value from RGB is 77 - color contains mainly: blue. Hex color #1A2F4D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1A2F4D is #E5D0B2. Grayscale: #2B2B2B. Windows color (decimal): -15061171 or 5058330. OLE color: 5058330.
HSL color Cylindrical-coordinate representation of color #1A2F4D: hue angle of 215.29º degrees, saturation: 0.5, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.66%. Process color model (Four color, CMYK) of #1A2F4D is Cyan = 0.66, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 26 | 47 | 77 | - |
| CMYK | 0.66 | 0.39 | 0 | 0.70 |
| HSL | 215.29º | 0.5% | 0.2% | - |
| HSV(B) | 215.29º | 0.66% | 0.3% | - |
| XYZ | 2.78 | 2.79 | 7.41 | - |
| YUV | 44.14 | 146.54 | 115.06 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 47 | 77 | 0.66 | 0.39 | 0 | 0.70 | 215.29 | 0.5 | 0.2 |
| Hex | 1A | 2F | 4D | 42 | 27 | 0 | 46 | D7 | 32 | 14 |
| Octal | 32 | 57 | 115 | 102 | 47 | 0 | 106 | 327 | 62 | 24 |
| Binary | 11010 | 101111 | 1001101 | 1000010 | 100111 | 0 | 1000110 | 11010111 | 110010 | 10100 |
Color Harmonies of #1A2F4D
Complementary color
Monochromatic Colors of #1A2F4D
Black with #1A2F4D
Text Example
Text Example
White with #1A2F4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A2F4D; }
p { color: rgb(26,47,77); }
H1.HeaderClassName
{
color: #1A2F4D;
}
.AnyTagClassName
{
color: #1A2F4D;
}
</style>
background-color css
<style>
a { background-color: #1A2F4D; }
a { background-color: rgb(26,47,77); }
div.DivClassName
{
background-color: #1A2F4D;
}
.BgClassName
{
background-color: #1A2F4D;
}
</style>
border-color css
<style>
span { border-color: #1A2F4D; }
span { border-color: rgb(26,47,77); }
td.TdClassName
{
border-color: #1A2F4D;
}
.TagClassName
{
border-color: #1A2F4D;
}
</style>