COLOR #504062

HEX: #504062
RGB: (80,64,98)

Color info

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

RGB color model

#504062 color RGB value is (80,64,98).

  • red value is 80;
  • green value is 64;
  • blue value is 98.
RGB:
(80,64,98)
(31%,25%,38%)

RGB channels and saturation

R 80 of 255 = 31%
G 64 of 255 = 25%
B 98 of 255 = 38%

80
64
98

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

Portions of RGB colors in percentages

R + G + B =
80 + 64 + 98 = 242 (100%)
R 80 of 242 ~ 33.06%
G 64 of 242 ~ 26.45%
B 98 of 242 ~ 40.5%

%33.06
%26.45
%40.5

CMYK color model

#504062 color CMYK value is (18,35,0,62).

  • cyan value is 18.37%
  • magenta value is 34.69%
  • yellow value is 0.00%
  • key color value is 61.57%
CMYK:
(18,35,0,62)
C18M35Y0K62 
(18%,35%,0%,62%)
(0.18/0.35/0.00/0.62)	

CMYK percentages

%18.37
%34.69
%0
%61.57

Codes

Color #504062 in popluar color models

504062
RGB806498
HSL268°20.99%31.76%
HSB/HSV268°34.69%38.43%
CMYK18.37%34.69%0.00%
61.57%

Color #504062 in popluar number systems.

HEX504062
Decimal806498
Binary101000010000001100010
Octal120100142

Shades and tints

Shades of #504062

#504062
(80,64,98)
#493B5A
(73,59,90)
#423652
(66,54,82)
#3B314A
(59,49,74)
#342C42
(52,44,66)
#2D273A
(45,39,58)
#262232
(38,34,50)
#1F1D2A
(31,29,42)
#181822
(24,24,34)
#11131A
(17,19,26)
#0A0E12
(10,14,18)
#000000
(0,0,0)

Tints of #504062

#504062
(80,64,98)
#5F5170
(95,81,112)
#6E627E
(110,98,126)
#7D738C
(125,115,140)
#8C849A
(140,132,154)
#9B95A8
(155,149,168)
#AAA6B6
(170,166,182)
#B9B7C4
(185,183,196)
#C8C8D2
(200,200,210)
#D7D9E0
(215,217,224)
#E6EAEE
(230,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #504062 color. Also use rgb(80,64,98) instead hex code.

Text Font Color

.myTextColor { color: #504062; }

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

This text font color is #504062.


Background Color

.myBgColor { background-color: #504062; }

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

This div background color is #504062.


Border color

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

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

This div border color is #504062.


Opacity

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

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

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

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

This text has shadow with #504062 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504062 on black background.


Color preview on white background

This text has color #504062 on white background.



Black color preview on #504062 background

This text has black color on #504062 background.


White color preview on #504062 background

This text has white color on #504062 background.