Color Hex Logo

#5122ab Color Hex

#5122AB
(81,34,171)
0 Favorites   0 Comments

Color spaces of #5122ab

RGB 8134171
HSL0.720.670.40
HSV261°80°67°
CMYK 0.530.800.00   0.33
XYZ11.31615.833739.0577
Yxy5.83370.20130.1038
Hunter Lab24.153141.3623-78.9702
CIE-Lab28.989052.0562-64.5387

#5122ab color RGB value is (81,34,171).

#5122ab hex color red value is 81, green value is 34 and the blue value of its RGB is 171. Cylindrical-coordinate representations (also known as HSL) of color #5122ab hue: 0.72 , saturation: 0.67 and the lightness value of 5122ab is 0.40.

The process color (four color CMYK) of #5122ab color hex is 0.53, 0.80, 0.00, 0.33. Web safe color of #5122ab is #663399. Color #5122ab contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 01010001 00100010 10101011
Octal 121 42 253
Decimal 81 34 171
Hex 51 22 AB

RGB Percentages of Color #5122ab

%28.32
%11.89
%59.79

CMYK Percentages of Color #5122ab

%53
%80
%0
%33

Triadic Colors of #5122ab

#5122ab #ab5122 #22ab51

Analogous Colors of #5122ab

#5122ab #9622ab #2237ab

Monochromatic Colors of #5122ab

#5122ab

Complementary Color

#5122ab #7cab22

#5122ab Color Preview on Black Background

Lorem ipsum dolor sit amet.

#5122ab Color Preview on White Background

Lorem ipsum dolor sit amet.

#5122ab Color CSS Codes

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

#5122ab Text Font Color

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

This sample text font color is #5122ab
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.


#5122ab Background Color

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

This div background color is #5122ab


#5122ab Border Color

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

This div border color is #5122ab


Css3 Examples

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

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(81,34,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 #5122ab">Text here</p>

This text has shadow with hex values.


Div Box Shadow

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

This div box has shadow with color #5122ab


Comments

No comments written yet.

Please login to write comment.