Shades of Midnight #1A2B40
Tints of Midnight #1A2B40
RGB
CMYK
RGB Variations
Color information
#1A2B40 (or 0x1A2B40) is known color: Midnight. HEX triplet: 1A, 2B and 40. RGB value is (26,43,64). Sum of RGB (Red+Green+Blue) = 26+43+64=133 (17% of max value = 765). Red value is 26 (10.55% from 255 or 19.55% from 133); Green value is 43 (17.19% from 255 or 32.33% from 133); Blue value is 64 (25.39% from 255 or 48.12% from 133); Max value from RGB is 64 - color contains mainly: blue. Hex color #1A2B40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1A2B40 is #E5D4BF. Grayscale: #282828. Windows color (decimal): -15062208 or 4205338. OLE color: 4205338.
HSL color Cylindrical-coordinate representation of color #1A2B40: hue angle of 213.16º 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 #1A2B40 is Cyan = 0.59, Magento = 0.33, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 26 | 43 | 64 | - |
| CMYK | 0.59 | 0.33 | 0 | 0.75 |
| HSL | 213.16º | 0.42% | 0.18% | - |
| HSV(B) | 213.16º | 0.59% | 0.25% | - |
| XYZ | 2.22 | 2.32 | 5.18 | - |
| YUV | 40.31 | 141.37 | 117.79 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 43 | 64 | 0.59 | 0.33 | 0 | 0.75 | 213.16 | 0.42 | 0.18 |
| Hex | 1A | 2B | 40 | 3B | 21 | 0 | 4B | D5 | 2A | 12 |
| Octal | 32 | 53 | 100 | 73 | 41 | 0 | 113 | 325 | 52 | 22 |
| Binary | 11010 | 101011 | 1000000 | 111011 | 100001 | 0 | 1001011 | 11010101 | 101010 | 10010 |
Color Harmonies of #1A2B40
Complementary color
Monochromatic Colors of #1A2B40
Black with #1A2B40
Text Example
Text Example
White with #1A2B40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A2B40; }
p { color: rgb(26,43,64); }
H1.HeaderClassName
{
color: #1A2B40;
}
.AnyTagClassName
{
color: #1A2B40;
}
</style>
background-color css
<style>
a { background-color: #1A2B40; }
a { background-color: rgb(26,43,64); }
div.DivClassName
{
background-color: #1A2B40;
}
.BgClassName
{
background-color: #1A2B40;
}
</style>
border-color css
<style>
span { border-color: #1A2B40; }
span { border-color: rgb(26,43,64); }
td.TdClassName
{
border-color: #1A2B40;
}
.TagClassName
{
border-color: #1A2B40;
}
</style>