COLOR #5247A5

HEX: #5247A5
RGB: (82,71,165)

Color info

#5247A5 contains mainly blue color. Web safe color of #5247A5 is #663399 (or #639).

RGB color model

#5247A5 color RGB value is (82,71,165).

  • red value is 82;
  • green value is 71;
  • blue value is 165.
RGB:
(82,71,165)
(32%,28%,65%)

RGB channels and saturation

R 82 of 255 = 32%
G 71 of 255 = 28%
B 165 of 255 = 65%

82
71
165

R + G + B ~ 42%. #5247A5 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
82 + 71 + 165 = 318 (100%)
R 82 of 318 ~ 25.79%
G 71 of 318 ~ 22.33%
B 165 of 318 ~ 51.89%

%25.79
%22.33
%51.89

CMYK color model

#5247A5 color CMYK value is (50,57,0,35).

  • cyan value is 50.30%
  • magenta value is 56.97%
  • yellow value is 0.00%
  • key color value is 35.29%
CMYK:
(50,57,0,35)
C50M57Y0K35 
(50%,57%,0%,35%)
(0.50/0.57/0.00/0.35)	

CMYK percentages

%50.3
%56.97
%0
%35.29

Codes

Color #5247A5 in popluar color models

5247A5
RGB8271165
HSL247°39.83%46.27%
HSB/HSV247°56.97%64.71%
CMYK50.30%56.97%0.00%
35.29%

Color #5247A5 in popluar number systems.

HEX5247A5
Decimal8271165
Binary1010010100011110100101
Octal122107245

Shades and tints

Shades of #5247A5

#5247A5
(82,71,165)
#4B4196
(75,65,150)
#443B87
(68,59,135)
#3D3578
(61,53,120)
#362F69
(54,47,105)
#2F295A
(47,41,90)
#28234B
(40,35,75)
#211D3C
(33,29,60)
#1A172D
(26,23,45)
#13111E
(19,17,30)
#0C0B0F
(12,11,15)
#000000
(0,0,0)

Tints of #5247A5

#5247A5
(82,71,165)
#6157AD
(97,87,173)
#7067B5
(112,103,181)
#7F77BD
(127,119,189)
#8E87C5
(142,135,197)
#9D97CD
(157,151,205)
#ACA7D5
(172,167,213)
#BBB7DD
(187,183,221)
#CAC7E5
(202,199,229)
#D9D7ED
(217,215,237)
#E8E7F5
(232,231,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5247A5 color. Also use rgb(82,71,165) instead hex code.

Text Font Color

.myTextColor { color: #5247A5; }

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

This text font color is #5247A5.


Background Color

.myBgColor { background-color: #5247A5; }

<div style="background-color:#5247A5">Inner text</div>

This div background color is #5247A5.


Border color

.myBorderColor { border: 1px solid #5247A5; }

<div style="border:3px solid #5247A5">Div</div>

This div border color is #5247A5.


Opacity

.myOpacity80 { color: #5247A5; opacity: 0.8; }

<p style="color:#5247A5;opacity:0.8;">80%</p>

Text with #5247A5 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 #5247A5;}

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

This text has shadow with #5247A5 color.

.textShadow {text-shadow: 3px 3px 1px #5247A5, 3px 3px 1px red;}

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

This text has shadow with #5247A5 primary color and red secondary color.


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

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

This text has shadow with #5247A5 and red colors in old Internet Explorer.


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #5247A5;
-webkit-box-shadow: 1px 1px 3px 2px #5247A5;
box-shadow:1px 1px 3px 2px #5247A5;">
Div content here</div>
This div box has shadow with color #5247A5.

Preview

Color preview on black background

This text has color #5247A5 on black background.


Color preview on white background

This text has color #5247A5 on white background.



Black color preview on #5247A5 background

This text has black color on #5247A5 background.


White color preview on #5247A5 background

This text has white color on #5247A5 background.