COLOR #502F7E

HEX: #502F7E
RGB: (80,47,126)

Color info

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

RGB color model

#502F7E color RGB value is (80,47,126).

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

RGB channels and saturation

R 80 of 255 = 31%
G 47 of 255 = 18%
B 126 of 255 = 49%

80
47
126

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

Portions of RGB colors in percentages

R + G + B =
80 + 47 + 126 = 253 (100%)
R 80 of 253 ~ 31.62%
G 47 of 253 ~ 18.58%
B 126 of 253 ~ 49.8%

%31.62
%18.58
%49.8

CMYK color model

#502F7E color CMYK value is (37,63,0,51).

  • cyan value is 36.51%
  • magenta value is 62.70%
  • yellow value is 0.00%
  • key color value is 50.59%
CMYK:
(37,63,0,51)
C37M63Y0K51 
(37%,63%,0%,51%)
(0.37/0.63/0.00/0.51)	

CMYK percentages

%36.51
%62.7
%0
%50.59

Codes

Color #502F7E in popluar color models

502F7E
RGB8047126
HSL265°45.66%33.92%
HSB/HSV265°62.70%49.41%
CMYK36.51%62.70%0.00%
50.59%

Color #502F7E in popluar number systems.

HEX502F7E
Decimal8047126
Binary10100001011111111110
Octal12057176

Shades and tints

Shades of #502F7E

#502F7E
(80,47,126)
#492B73
(73,43,115)
#422768
(66,39,104)
#3B235D
(59,35,93)
#341F52
(52,31,82)
#2D1B47
(45,27,71)
#26173C
(38,23,60)
#1F1331
(31,19,49)
#180F26
(24,15,38)
#110B1B
(17,11,27)
#0A0710
(10,7,16)
#000000
(0,0,0)

Tints of #502F7E

#502F7E
(80,47,126)
#5F4189
(95,65,137)
#6E5394
(110,83,148)
#7D659F
(125,101,159)
#8C77AA
(140,119,170)
#9B89B5
(155,137,181)
#AA9BC0
(170,155,192)
#B9ADCB
(185,173,203)
#C8BFD6
(200,191,214)
#D7D1E1
(215,209,225)
#E6E3EC
(230,227,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502F7E; }

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

This text font color is #502F7E.


Background Color

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

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

This div background color is #502F7E.


Border color

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

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

This div border color is #502F7E.


Opacity

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

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

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

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

This text has shadow with #502F7E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502F7E on black background.


Color preview on white background

This text has color #502F7E on white background.



Black color preview on #502F7E background

This text has black color on #502F7E background.


White color preview on #502F7E background

This text has white color on #502F7E background.