Shades of Midnight #1A2D4C
Tints of Midnight #1A2D4C
RGB
CMYK
RGB Variations
Color information
#1A2D4C (or 0x1A2D4C) is known color: Midnight. HEX triplet: 1A, 2D and 4C. RGB value is (26,45,76). Sum of RGB (Red+Green+Blue) = 26+45+76=147 (19% of max value = 765). Red value is 26 (10.55% from 255 or 17.69% from 147); Green value is 45 (17.97% from 255 or 30.61% from 147); Blue value is 76 (30.08% from 255 or 51.70% from 147); Max value from RGB is 76 - color contains mainly: blue. Hex color #1A2D4C is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1A2D4C is #E5D2B3. Grayscale: #2A2A2A. Windows color (decimal): -15061684 or 4992282. OLE color: 4992282.
HSL color Cylindrical-coordinate representation of color #1A2D4C: hue angle of 217.2º degrees, saturation: 0.49, 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 #1A2D4C is Cyan = 0.66, Magento = 0.41, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 26 | 45 | 76 | - |
| CMYK | 0.66 | 0.41 | 0 | 0.70 |
| HSL | 217.2º | 0.49% | 0.2% | - |
| HSV(B) | 217.2º | 0.66% | 0.3% | - |
| XYZ | 2.67 | 2.62 | 7.2 | - |
| YUV | 42.85 | 146.71 | 115.98 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 26 | 45 | 76 | 0.66 | 0.41 | 0 | 0.70 | 217.2 | 0.49 | 0.2 |
| Hex | 1A | 2D | 4C | 42 | 29 | 0 | 46 | D9 | 31 | 14 |
| Octal | 32 | 55 | 114 | 102 | 51 | 0 | 106 | 331 | 61 | 24 |
| Binary | 11010 | 101101 | 1001100 | 1000010 | 101001 | 0 | 1000110 | 11011001 | 110001 | 10100 |
Color Harmonies of #1A2D4C
Complementary color
Monochromatic Colors of #1A2D4C
Black with #1A2D4C
Text Example
Text Example
White with #1A2D4C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1A2D4C; }
p { color: rgb(26,45,76); }
H1.HeaderClassName
{
color: #1A2D4C;
}
.AnyTagClassName
{
color: #1A2D4C;
}
</style>
background-color css
<style>
a { background-color: #1A2D4C; }
a { background-color: rgb(26,45,76); }
div.DivClassName
{
background-color: #1A2D4C;
}
.BgClassName
{
background-color: #1A2D4C;
}
</style>
border-color css
<style>
span { border-color: #1A2D4C; }
span { border-color: rgb(26,45,76); }
td.TdClassName
{
border-color: #1A2D4C;
}
.TagClassName
{
border-color: #1A2D4C;
}
</style>