COLOR #502188

HEX: #502188
RGB: (80,33,136)

Color info

#502188 contains mainly red and blue colors. Web safe color of #502188 is #663399 (or #639).

RGB color model

#502188 color RGB value is (80,33,136).

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

RGB channels and saturation

R 80 of 255 = 31%
G 33 of 255 = 13%
B 136 of 255 = 53%

80
33
136

R + G + B ~ 32%. #502188 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 33 + 136 = 249 (100%)
R 80 of 249 ~ 32.13%
G 33 of 249 ~ 13.25%
B 136 of 249 ~ 54.62%

%32.13
%13.25
%54.62

CMYK color model

#502188 color CMYK value is (41,76,0,47).

  • cyan value is 41.18%
  • magenta value is 75.74%
  • yellow value is 0.00%
  • key color value is 46.67%
CMYK:
(41,76,0,47)
C41M76Y0K47 
(41%,76%,0%,47%)
(0.41/0.76/0.00/0.47)	

CMYK percentages

%41.18
%75.74
%0
%46.67

Codes

Color #502188 in popluar color models

502188
RGB8033136
HSL267°60.95%33.14%
HSB/HSV267°75.74%53.33%
CMYK41.18%75.74%0.00%
46.67%

Color #502188 in popluar number systems.

HEX502188
Decimal8033136
Binary101000010000110001000
Octal12041210

Shades and tints

Shades of #502188

#502188
(80,33,136)
#491E7C
(73,30,124)
#421B70
(66,27,112)
#3B1864
(59,24,100)
#341558
(52,21,88)
#2D124C
(45,18,76)
#260F40
(38,15,64)
#1F0C34
(31,12,52)
#180928
(24,9,40)
#11061C
(17,6,28)
#0A0310
(10,3,16)
#000000
(0,0,0)

Tints of #502188

#502188
(80,33,136)
#5F3592
(95,53,146)
#6E499C
(110,73,156)
#7D5DA6
(125,93,166)
#8C71B0
(140,113,176)
#9B85BA
(155,133,186)
#AA99C4
(170,153,196)
#B9ADCE
(185,173,206)
#C8C1D8
(200,193,216)
#D7D5E2
(215,213,226)
#E6E9EC
(230,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502188; }

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

This text font color is #502188.


Background Color

.myBgColor { background-color: #502188; }

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

This div background color is #502188.


Border color

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

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

This div border color is #502188.


Opacity

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

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

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

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

This text has shadow with #502188 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502188 on black background.


Color preview on white background

This text has color #502188 on white background.



Black color preview on #502188 background

This text has black color on #502188 background.


White color preview on #502188 background

This text has white color on #502188 background.