COLOR #502F6A

HEX: #502F6A
RGB: (80,47,106)

Color info

#502F6A contains red, green and blue colors in about the same proportion. Web safe color of #502F6A is #663366 (or #636).

RGB color model

#502F6A color RGB value is (80,47,106).

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

RGB channels and saturation

R 80 of 255 = 31%
G 47 of 255 = 18%
B 106 of 255 = 42%

80
47
106

R + G + B ~ 30%. #502F6A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 47 + 106 = 233 (100%)
R 80 of 233 ~ 34.33%
G 47 of 233 ~ 20.17%
B 106 of 233 ~ 45.49%

%34.33
%20.17
%45.49

CMYK color model

#502F6A color CMYK value is (25,56,0,58).

  • cyan value is 24.53%
  • magenta value is 55.66%
  • yellow value is 0.00%
  • key color value is 58.43%
CMYK:
(25,56,0,58)
C25M56Y0K58 
(25%,56%,0%,58%)
(0.25/0.56/0.00/0.58)	

CMYK percentages

%24.53
%55.66
%0
%58.43

Codes

Color #502F6A in popluar color models

502F6A
RGB8047106
HSL274°38.56%30.00%
HSB/HSV274°55.66%41.57%
CMYK24.53%55.66%0.00%
58.43%

Color #502F6A in popluar number systems.

HEX502F6A
Decimal8047106
Binary10100001011111101010
Octal12057152

Shades and tints

Shades of #502F6A

#502F6A
(80,47,106)
#492B61
(73,43,97)
#422758
(66,39,88)
#3B234F
(59,35,79)
#341F46
(52,31,70)
#2D1B3D
(45,27,61)
#261734
(38,23,52)
#1F132B
(31,19,43)
#180F22
(24,15,34)
#110B19
(17,11,25)
#0A0710
(10,7,16)
#000000
(0,0,0)

Tints of #502F6A

#502F6A
(80,47,106)
#5F4177
(95,65,119)
#6E5384
(110,83,132)
#7D6591
(125,101,145)
#8C779E
(140,119,158)
#9B89AB
(155,137,171)
#AA9BB8
(170,155,184)
#B9ADC5
(185,173,197)
#C8BFD2
(200,191,210)
#D7D1DF
(215,209,223)
#E6E3EC
(230,227,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502F6A; }

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

This text font color is #502F6A.


Background Color

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

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

This div background color is #502F6A.


Border color

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

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

This div border color is #502F6A.


Opacity

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

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

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

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

This text has shadow with #502F6A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502F6A on black background.


Color preview on white background

This text has color #502F6A on white background.



Black color preview on #502F6A background

This text has black color on #502F6A background.


White color preview on #502F6A background

This text has white color on #502F6A background.