COLOR #504260

HEX: #504260
RGB: (80,66,96)

Color info

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

RGB color model

#504260 color RGB value is (80,66,96).

  • red value is 80;
  • green value is 66;
  • blue value is 96.
RGB:
(80,66,96)
(31%,26%,38%)

RGB channels and saturation

R 80 of 255 = 31%
G 66 of 255 = 26%
B 96 of 255 = 38%

80
66
96

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

Portions of RGB colors in percentages

R + G + B =
80 + 66 + 96 = 242 (100%)
R 80 of 242 ~ 33.06%
G 66 of 242 ~ 27.27%
B 96 of 242 ~ 39.67%

%33.06
%27.27
%39.67

CMYK color model

#504260 color CMYK value is (17,31,0,62).

  • cyan value is 16.67%
  • magenta value is 31.25%
  • yellow value is 0.00%
  • key color value is 62.35%
CMYK:
(17,31,0,62)
C17M31Y0K62 
(17%,31%,0%,62%)
(0.17/0.31/0.00/0.62)	

CMYK percentages

%16.67
%31.25
%0
%62.35

Codes

Color #504260 in popluar color models

504260
RGB806696
HSL268°18.52%31.76%
HSB/HSV268°31.25%37.65%
CMYK16.67%31.25%0.00%
62.35%

Color #504260 in popluar number systems.

HEX504260
Decimal806696
Binary101000010000101100000
Octal120102140

Shades and tints

Shades of #504260

#504260
(80,66,96)
#493C58
(73,60,88)
#423650
(66,54,80)
#3B3048
(59,48,72)
#342A40
(52,42,64)
#2D2438
(45,36,56)
#261E30
(38,30,48)
#1F1828
(31,24,40)
#181220
(24,18,32)
#110C18
(17,12,24)
#0A0610
(10,6,16)
#000000
(0,0,0)

Tints of #504260

#504260
(80,66,96)
#5F536E
(95,83,110)
#6E647C
(110,100,124)
#7D758A
(125,117,138)
#8C8698
(140,134,152)
#9B97A6
(155,151,166)
#AAA8B4
(170,168,180)
#B9B9C2
(185,185,194)
#C8CAD0
(200,202,208)
#D7DBDE
(215,219,222)
#E6ECEC
(230,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #504260 color. Also use rgb(80,66,96) instead hex code.

Text Font Color

.myTextColor { color: #504260; }

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

This text font color is #504260.


Background Color

.myBgColor { background-color: #504260; }

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

This div background color is #504260.


Border color

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

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

This div border color is #504260.


Opacity

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

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

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

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

This text has shadow with #504260 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #504260 on black background.


Color preview on white background

This text has color #504260 on white background.



Black color preview on #504260 background

This text has black color on #504260 background.


White color preview on #504260 background

This text has white color on #504260 background.