COLOR #502154

HEX: #502154
RGB: (80,33,84)

Color info

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

RGB color model

#502154 color RGB value is (80,33,84).

  • red value is 80;
  • green value is 33;
  • blue value is 84.
RGB:
(80,33,84)
(31%,13%,33%)

RGB channels and saturation

R 80 of 255 = 31%
G 33 of 255 = 13%
B 84 of 255 = 33%

80
33
84

R + G + B ~ 26%. #502154 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 33 + 84 = 197 (100%)
R 80 of 197 ~ 40.61%
G 33 of 197 ~ 16.75%
B 84 of 197 ~ 42.64%

%40.61
%16.75
%42.64

CMYK color model

#502154 color CMYK value is (5,61,0,67).

  • cyan value is 4.76%
  • magenta value is 60.71%
  • yellow value is 0.00%
  • key color value is 67.06%
CMYK:
(5,61,0,67)
C5M61Y0K67 
(5%,61%,0%,67%)
(0.05/0.61/0.00/0.67)	

CMYK percentages

%4.76
%60.71
%0
%67.06

Codes

Color #502154 in popluar color models

502154
RGB803384
HSL295°43.59%22.94%
HSB/HSV295°60.71%32.94%
CMYK4.76%60.71%0.00%
67.06%

Color #502154 in popluar number systems.

HEX502154
Decimal803384
Binary10100001000011010100
Octal12041124

Shades and tints

Shades of #502154

#502154
(80,33,84)
#491E4D
(73,30,77)
#421B46
(66,27,70)
#3B183F
(59,24,63)
#341538
(52,21,56)
#2D1231
(45,18,49)
#260F2A
(38,15,42)
#1F0C23
(31,12,35)
#18091C
(24,9,28)
#110615
(17,6,21)
#0A030E
(10,3,14)
#000000
(0,0,0)

Tints of #502154

#502154
(80,33,84)
#5F3563
(95,53,99)
#6E4972
(110,73,114)
#7D5D81
(125,93,129)
#8C7190
(140,113,144)
#9B859F
(155,133,159)
#AA99AE
(170,153,174)
#B9ADBD
(185,173,189)
#C8C1CC
(200,193,204)
#D7D5DB
(215,213,219)
#E6E9EA
(230,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #502154 color. Also use rgb(80,33,84) instead hex code.

Text Font Color

.myTextColor { color: #502154; }

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

This text font color is #502154.


Background Color

.myBgColor { background-color: #502154; }

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

This div background color is #502154.


Border color

.myBorderColor { border: 1px solid #502154; }

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

This div border color is #502154.


Opacity

.myOpacity80 { color: #502154; opacity: 0.8; }

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

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

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

This text has shadow with #502154 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502154 on black background.


Color preview on white background

This text has color #502154 on white background.



Black color preview on #502154 background

This text has black color on #502154 background.


White color preview on #502154 background

This text has white color on #502154 background.