COLOR #502F72

HEX: #502F72
RGB: (80,47,114)

Color info

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

RGB color model

#502F72 color RGB value is (80,47,114).

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

RGB channels and saturation

R 80 of 255 = 31%
G 47 of 255 = 18%
B 114 of 255 = 45%

80
47
114

R + G + B ~ 31%. #502F72 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 47 + 114 = 241 (100%)
R 80 of 241 ~ 33.2%
G 47 of 241 ~ 19.5%
B 114 of 241 ~ 47.3%

%33.2
%19.5
%47.3

CMYK color model

#502F72 color CMYK value is (30,59,0,55).

  • cyan value is 29.82%
  • magenta value is 58.77%
  • yellow value is 0.00%
  • key color value is 55.29%
CMYK:
(30,59,0,55)
C30M59Y0K55 
(30%,59%,0%,55%)
(0.30/0.59/0.00/0.55)	

CMYK percentages

%29.82
%58.77
%0
%55.29

Codes

Color #502F72 in popluar color models

502F72
RGB8047114
HSL270°41.61%31.57%
HSB/HSV270°58.77%44.71%
CMYK29.82%58.77%0.00%
55.29%

Color #502F72 in popluar number systems.

HEX502F72
Decimal8047114
Binary10100001011111110010
Octal12057162

Shades and tints

Shades of #502F72

#502F72
(80,47,114)
#492B68
(73,43,104)
#42275E
(66,39,94)
#3B2354
(59,35,84)
#341F4A
(52,31,74)
#2D1B40
(45,27,64)
#261736
(38,23,54)
#1F132C
(31,19,44)
#180F22
(24,15,34)
#110B18
(17,11,24)
#0A070E
(10,7,14)
#000000
(0,0,0)

Tints of #502F72

#502F72
(80,47,114)
#5F417E
(95,65,126)
#6E538A
(110,83,138)
#7D6596
(125,101,150)
#8C77A2
(140,119,162)
#9B89AE
(155,137,174)
#AA9BBA
(170,155,186)
#B9ADC6
(185,173,198)
#C8BFD2
(200,191,210)
#D7D1DE
(215,209,222)
#E6E3EA
(230,227,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502F72; }

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

This text font color is #502F72.


Background Color

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

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

This div background color is #502F72.


Border color

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

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

This div border color is #502F72.


Opacity

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

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

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

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

This text has shadow with #502F72 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502F72 on black background.


Color preview on white background

This text has color #502F72 on white background.



Black color preview on #502F72 background

This text has black color on #502F72 background.


White color preview on #502F72 background

This text has white color on #502F72 background.