Color Hex Logo

#2540ab Color Hex

#2540AB
(37,64,171)
0 Favorites   0 Comments

Color spaces of #2540ab

RGB 3764171
HSL0.630.640.41
HSV228°78°67°
CMYK 0.780.630.00   0.33
XYZ9.94707.000439.3550
Yxy7.00040.17670.1243
Hunter Lab26.458320.8052-69.6693
CIE-Lab31.807829.5567-60.0383

#2540ab color RGB value is (37,64,171).

#2540ab hex color red value is 37, green value is 64 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #2540ab hue: 0.63 , saturation: 0.64 and the lightness value of 2540ab is 0.41.

The process color (four color CMYK) of #2540ab color hex is 0.78, 0.63, 0.00, 0.33. Web safe color of #2540ab is #333399. Color #2540ab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00100101 01000000 10101011
Octal 45 100 253
Decimal 37 64 171
Hex 25 40 AB

RGB Percentages of Color #2540ab

%13.60
%23.53
%62.87

CMYK Percentages of Color #2540ab

%78
%63
%0
%33

Triadic Colors of #2540ab

#2540ab #ab2540 #40ab25

Analogous Colors of #2540ab

#2540ab #4d25ab #2583ab

Monochromatic Colors of #2540ab

#2540ab

Complementary Color

#2540ab #ab9025

#2540ab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#2540ab Color Preview on White Background

Lorem ipsum dolor sit amet.

#2540ab Color CSS Codes

.mybgcolor {background-color:#2540ab; } 
.myforecolor {color:#2540ab; }
.mybordercolor {border:3px solid #2540ab; }

#2540ab Text Font Color

<p style="color:#2540ab">Text here</p>

This sample text font color is #2540ab
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


#2540ab Background Color

<div style="background-color:#2540ab">
Div content here</div>

This div background color is #2540ab


#2540ab Border Color

<div style="border:3px solid #2540ab">
Div here</div>

This div border color is #2540ab


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(37,64,171, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #2540ab; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #2540ab;
  -webkit-box-shadow: 1px 1px 3px 2px #2540ab;
  box-shadow:         1px 1px 3px 2px #2540ab; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(37,64,171, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #2540ab">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #2540ab;
  -webkit-box-shadow: 1px 1px 3px 2px #2540ab;
  box-shadow:         1px 1px 3px 2px #2540ab;">
Div content here</div>

This div box has shadow with color #2540ab


Comments

No comments written yet.

Please login to write comment.