Shades of Persian Blue #2540A8
Tints of Persian Blue #2540A8
RGB
CMYK
RGB Variations
Color information
#2540A8 (or 0x2540A8) is known color: Persian Blue. HEX triplet: 25, 40 and A8. RGB value is (37,64,168). Sum of RGB (Red+Green+Blue) = 37+64+168=269 (35% of max value = 765). Red value is 37 (14.84% from 255 or 13.75% from 269); Green value is 64 (25.39% from 255 or 23.79% from 269); Blue value is 168 (66.02% from 255 or 62.45% from 269); Max value from RGB is 168 - color contains mainly: blue. Hex color #2540A8 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2540A8 is #DABF57. Grayscale: #434343. Windows color (decimal): -14335832 or 11026469. OLE color: 11026469.
HSL color Cylindrical-coordinate representation of color #2540A8: hue angle of 227.63º degrees, saturation: 0.64, lightness: 0.4%. HSV value (or HSB Brightness) of color is 0.66% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #2540A8 is Cyan = 0.78, Magento = 0.62, Yellow = 0 and Black (K on CMYK) = 0.34.
Color convert
| RGB | 37 | 64 | 168 | - |
| CMYK | 0.78 | 0.62 | 0 | 0.34 |
| HSL | 227.63º | 0.64% | 0.4% | - |
| HSV(B) | 227.63º | 0.78% | 0.66% | - |
| XYZ | 9.66 | 6.89 | 37.87 | - |
| YUV | 67.78 | 184.55 | 106.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 37 | 64 | 168 | 0.78 | 0.62 | 0 | 0.34 | 227.63 | 0.64 | 0.4 |
| Hex | 25 | 40 | A8 | 4E | 3E | 0 | 22 | E4 | 40 | 28 |
| Octal | 45 | 100 | 250 | 116 | 76 | 0 | 42 | 344 | 100 | 50 |
| Binary | 100101 | 1000000 | 10101000 | 1001110 | 111110 | 0 | 100010 | 11100100 | 1000000 | 101000 |
Color Harmonies of #2540A8
Complementary color
Monochromatic Colors of #2540A8
Black with #2540A8
Text Example
Text Example
White with #2540A8
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2540A8; }
p { color: rgb(37,64,168); }
H1.HeaderClassName
{
color: #2540A8;
}
.AnyTagClassName
{
color: #2540A8;
}
</style>
background-color css
<style>
a { background-color: #2540A8; }
a { background-color: rgb(37,64,168); }
div.DivClassName
{
background-color: #2540A8;
}
.BgClassName
{
background-color: #2540A8;
}
</style>
border-color css
<style>
span { border-color: #2540A8; }
span { border-color: rgb(37,64,168); }
td.TdClassName
{
border-color: #2540A8;
}
.TagClassName
{
border-color: #2540A8;
}
</style>