COLOR #5251A2

HEX: #5251A2 RGB: (82,81,162)

Color info

#5251A2 contains mainly blue color. Web safe color of #5251A2 is #666699 (or #669).

RGB color model

#5251A2 color RGB value is (82,81,162).

RGB: (82,81,162) (32%, 32%, 64%)

RGB channels and saturation

R 82 of 255 = 32%
G 81 of 255 = 32%
B 162 of 255 = 64%

82
81
162

R + G + B ~ 43%. #5251A2 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 82 + 81 + 162 = 325 (100%)
R 82 of 325 ~ 25.23%
G 81 of 325 ~ 24.92%
B 162 of 325 ~ 49.85'%

%25.23
%24.92
%49.85

CMYK color model

#5251A2 color CMYK value is (49,50,0,36).

  • cyan value is 49.38%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 36.47%

CMYK: (49,50,0,36)
C49M50Y0K36 (49%, 50%, 0%, 36%)
(0.49 / 0.50 / 0.00 / 0.36)

CMYK percentages

%49.38
%50
%0
%36.47

Codes

Color #5251A2 in popluar color models

52 51 A2
RGB 82 81 162
HSL 241° 33.33% 47.65%
HSB/HSV 241° 50.00% 63.53%
CMYK 49.38% 50.00% 0.00%
36.47%

Color #5251A2 in popluar number systems.

HEX 52 51 A2
Decimal 82 81 162
Binary 1010010 1010001 10100010
Octal 122 121 242

Shades and tints

Shades of #5251A2

#5251A2
(82,81,162)
#4B4A94
(75,74,148)
#444386
(68,67,134)
#3D3C78
(61,60,120)
#36356A
(54,53,106)
#2F2E5C
(47,46,92)
#28274E
(40,39,78)
#212040
(33,32,64)
#1A1932
(26,25,50)
#131224
(19,18,36)
#0C0B16
(12,11,22)
#000000
(0,0,0)

Tints of #5251A2

#5251A2
(82,81,162)
#6160AA
(97,96,170)
#706FB2
(112,111,178)
#7F7EBA
(127,126,186)
#8E8DC2
(142,141,194)
#9D9CCA
(157,156,202)
#ACABD2
(172,171,210)
#BBBADA
(187,186,218)
#CAC9E2
(202,201,226)
#D9D8EA
(217,216,234)
#E8E7F2
(232,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5251A2 color. Also use rgb(82,81,162) instead hex code.

Text Font Color

.myTextColor { color: #5251A2; }

<p style="color:#5251A2">This sample text font color is #5251A2.</p>

This text font color is #5251A2.

Background Color

.myBgColor { background-color: #5251A2; }

<div style="background-color:#5251A2">Inner text</div>

This div background color is #5251A2.

Border color

.myBorderColor { border: 1px solid #5251A2; }

<div style="border:3px solid #5251A2">Div</div>

This div border color is #5251A2.

Opacity

.myOpacity80 { color: #5251A2; opacity: 0.8; }

<p style="color:#5251A2;opacity:0.8;">80%</p>

Text with #5251A2 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #5251A2;}

<p style="text-shadow: 3px 3px 1px #5251A2">Text here.</p>

This text has shadow with #5251A2 color.


.textShadow {text-shadow: 3px 3px 1px #5251A2', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #5251A2, 5px 5px 20px red">Text here.</p>

This text has shadow with #5251A2 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5251A2, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#5251A2, Direction=45, Strength=4)">Text</p>

This text has shadow with #5251A2 and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #5251A2;
-webkit-box-shadow: 1px 1px 3px 2px #5251A2;
box-shadow: 1px 1px 3px 2px #5251A2;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #5251A2; -webkit-box-shadow: 1px 1px 3px 2px #5251A2; box-shadow:1px 1px 3px 2px #5251A2;">
Div content here
</div>

This div box has shadow with color #5251A2.

Preview

Color preview on black background

This text has color #5251A2 on black background.


Color preview on white background

This text has color #5251A2 on white background.


Black color preview on #5251A2 background

This text has black color on #5251A2 background.


White color preview on #5251A2 background

This text has white color on #5251A2 background.


Related colors

Complementary color

Complementary color for #hex is #ADAE5D.


I love getcolorcode.com

Triadic colors

1 #A25251 and #51A252 with #5251A2 are triadic colors.

2 #A25152 and #5152A2 with #5251A2 are triadic colors.