Shades of Midnight #1A2840
Tints of Midnight #1A2840
RGB
CMYK
RGB Variations
Color information
#1A2840 (or 0x1A2840) is known color: Midnight. HEX triplet: 1A, 28 and 40. RGB value is (26,40,64). Sum of RGB (Red+Green+Blue) = 26+40+64=130 (17% of max value = 765). Red value is 26 (10.55% from 255 or 20% from 130); Green value is 40 (16.02% from 255 or 30.77% from 130); Blue value is 64 (25.39% from 255 or 49.23% from 130); Max value from RGB is 64 - color contains mainly: blue. Hex color #1A2840 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1A2840 is #E5D7BF. Grayscale: #262626. Windows color (decimal): -15062976 or 4204570. OLE color: 4204570.
HSL color Cylindrical-coordinate representation of color #1A2840: hue angle of 217.89º degrees, saturation: 0.42, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.59%. Process color model (Four color, CMYK) of #1A2840 is Cyan = 0.59, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 26 | 40 | 64 | - |
| CMYK | 0.59 | 0.38 | 0 | 0.75 |
| HSL | 217.89º | 0.42% | 0.18% | - |
| HSV(B) | 217.89º | 0.59% | 0.25% | - |
| XYZ | 2.11 | 2.11 | 5.15 | - |
| YUV | 38.55 | 142.36 | 119.05 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 40 | 64 | 0.59 | 0.38 | 0 | 0.75 | 217.89 | 0.42 | 0.18 |
| Hex | 1A | 28 | 40 | 3B | 26 | 0 | 4B | DA | 2A | 12 |
| Octal | 32 | 50 | 100 | 73 | 46 | 0 | 113 | 332 | 52 | 22 |
| Binary | 11010 | 101000 | 1000000 | 111011 | 100110 | 0 | 1001011 | 11011010 | 101010 | 10010 |
Color Harmonies of #1A2840
Complementary color
Monochromatic Colors of #1A2840
Black with #1A2840
Text Example
Text Example
White with #1A2840
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A2840; }
p { color: rgb(26,40,64); }
H1.HeaderClassName
{
color: #1A2840;
}
.AnyTagClassName
{
color: #1A2840;
}
</style>
background-color css
<style>
a { background-color: #1A2840; }
a { background-color: rgb(26,40,64); }
div.DivClassName
{
background-color: #1A2840;
}
.BgClassName
{
background-color: #1A2840;
}
</style>
border-color css
<style>
span { border-color: #1A2840; }
span { border-color: rgb(26,40,64); }
td.TdClassName
{
border-color: #1A2840;
}
.TagClassName
{
border-color: #1A2840;
}
</style>