Shades of Royal Blue #2A6CDA
Tints of Royal Blue #2A6CDA
RGB
CMYK
RGB Variations
Color information
#2A6CDA (or 0x2A6CDA) is known color: Royal Blue. HEX triplet: 2A, 6C and DA. RGB value is (42,108,218). Sum of RGB (Red+Green+Blue) = 42+108+218=368 (48% of max value = 765). Red value is 42 (16.80% from 255 or 11.41% from 368); Green value is 108 (42.58% from 255 or 29.35% from 368); Blue value is 218 (85.55% from 255 or 59.24% from 368); Max value from RGB is 218 - color contains mainly: blue. Hex color #2A6CDA is not a web safe color. Web safe color analog (approx): #3366CC. Inversed color of #2A6CDA is #D59325. Grayscale: #646464. Windows color (decimal): -13996838 or 14314538. OLE color: 14314538.
HSL color Cylindrical-coordinate representation of color #2A6CDA: hue angle of 217.5º degrees, saturation: 0.7, lightness: 0.51%. HSV value (or HSB Brightness) of color is 0.85% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #2A6CDA is Cyan = 0.81, Magento = 0.50, Yellow = 0 and Black (K on CMYK) = 0.15.
Color convert
| RGB | 42 | 108 | 218 | - |
| CMYK | 0.81 | 0.50 | 0 | 0.15 |
| HSL | 217.5º | 0.7% | 0.51% | - |
| HSV(B) | 217.5º | 0.81% | 0.85% | - |
| XYZ | 18.97 | 16.28 | 68.47 | - |
| YUV | 100.81 | 194.13 | 86.06 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 108 | 218 | 0.81 | 0.50 | 0 | 0.15 | 217.5 | 0.7 | 0.51 |
| Hex | 2A | 6C | DA | 51 | 32 | 0 | F | DA | 46 | 33 |
| Octal | 52 | 154 | 332 | 121 | 62 | 0 | 17 | 332 | 106 | 63 |
| Binary | 101010 | 1101100 | 11011010 | 1010001 | 110010 | 0 | 1111 | 11011010 | 1000110 | 110011 |
Color Harmonies of #2A6CDA
Complementary color
Monochromatic Colors of #2A6CDA
Black with #2A6CDA
Text Example
Text Example
White with #2A6CDA
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A6CDA; }
p { color: rgb(42,108,218); }
H1.HeaderClassName
{
color: #2A6CDA;
}
.AnyTagClassName
{
color: #2A6CDA;
}
</style>
background-color css
<style>
a { background-color: #2A6CDA; }
a { background-color: rgb(42,108,218); }
div.DivClassName
{
background-color: #2A6CDA;
}
.BgClassName
{
background-color: #2A6CDA;
}
</style>
border-color css
<style>
span { border-color: #2A6CDA; }
span { border-color: rgb(42,108,218); }
td.TdClassName
{
border-color: #2A6CDA;
}
.TagClassName
{
border-color: #2A6CDA;
}
</style>