COLOR #502F80

HEX: #502F80
RGB: (80,47,128)

Color info

#502F80 contains mainly red and blue colors. Web safe color of #502F80 is #663366 (or #636).

RGB color model

#502F80 color RGB value is (80,47,128).

  • red value is 80;
  • green value is 47;
  • blue value is 128.
RGB:
(80,47,128)
(31%,18%,50%)

RGB channels and saturation

R 80 of 255 = 31%
G 47 of 255 = 18%
B 128 of 255 = 50%

80
47
128

R + G + B ~ 33%. #502F80 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 47 + 128 = 255 (100%)
R 80 of 255 ~ 31.37%
G 47 of 255 ~ 18.43%
B 128 of 255 ~ 50.2%

%31.37
%18.43
%50.2

CMYK color model

#502F80 color CMYK value is (38,63,0,50).

  • cyan value is 37.50%
  • magenta value is 63.28%
  • yellow value is 0.00%
  • key color value is 49.80%
CMYK:
(38,63,0,50)
C38M63Y0K50 
(38%,63%,0%,50%)
(0.38/0.63/0.00/0.50)	

CMYK percentages

%37.5
%63.28
%0
%49.8

Codes

Color #502F80 in popluar color models

502F80
RGB8047128
HSL264°46.29%34.31%
HSB/HSV264°63.28%50.20%
CMYK37.50%63.28%0.00%
49.80%

Color #502F80 in popluar number systems.

HEX502F80
Decimal8047128
Binary101000010111110000000
Octal12057200

Shades and tints

Shades of #502F80

#502F80
(80,47,128)
#492B75
(73,43,117)
#42276A
(66,39,106)
#3B235F
(59,35,95)
#341F54
(52,31,84)
#2D1B49
(45,27,73)
#26173E
(38,23,62)
#1F1333
(31,19,51)
#180F28
(24,15,40)
#110B1D
(17,11,29)
#0A0712
(10,7,18)
#000000
(0,0,0)

Tints of #502F80

#502F80
(80,47,128)
#5F418B
(95,65,139)
#6E5396
(110,83,150)
#7D65A1
(125,101,161)
#8C77AC
(140,119,172)
#9B89B7
(155,137,183)
#AA9BC2
(170,155,194)
#B9ADCD
(185,173,205)
#C8BFD8
(200,191,216)
#D7D1E3
(215,209,227)
#E6E3EE
(230,227,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #502F80 color. Also use rgb(80,47,128) instead hex code.

Text Font Color

.myTextColor { color: #502F80; }

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

This text font color is #502F80.


Background Color

.myBgColor { background-color: #502F80; }

<div style="background-color:#502F80">Inner text</div>

This div background color is #502F80.


Border color

.myBorderColor { border: 1px solid #502F80; }

<div style="border:3px solid #502F80">Div</div>

This div border color is #502F80.


Opacity

.myOpacity80 { color: #502F80; opacity: 0.8; }

<p style="color:#502F80;opacity:0.8;">80%</p>

Text with #502F80 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 #502F80;}

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

This text has shadow with #502F80 color.

.textShadow {text-shadow: 3px 3px 1px #502F80, 3px 3px 1px red;}

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

This text has shadow with #502F80 primary color and red secondary color.


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

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

This text has shadow with #502F80 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502F80 on black background.


Color preview on white background

This text has color #502F80 on white background.



Black color preview on #502F80 background

This text has black color on #502F80 background.


White color preview on #502F80 background

This text has white color on #502F80 background.