COLOR #502740

HEX: #502740
RGB: (80,39,64)

Color info

#502740 contains red, green and blue colors in about the same proportion. Web safe color of #502740 is #663333 (or #633).

RGB color model

#502740 color RGB value is (80,39,64).

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

RGB channels and saturation

R 80 of 255 = 31%
G 39 of 255 = 15%
B 64 of 255 = 25%

80
39
64

R + G + B ~ 24%. #502740 is dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 39 + 64 = 183 (100%)
R 80 of 183 ~ 43.72%
G 39 of 183 ~ 21.31%
B 64 of 183 ~ 34.97%

%43.72
%21.31
%34.97

CMYK color model

#502740 color CMYK value is (0,51,20,69).

  • cyan value is 0.00%
  • magenta value is 51.25%
  • yellow value is 20.00%
  • key color value is 68.63%
CMYK:
(0,51,20,69)
C0M51Y20K69 
(0%,51%,20%,69%)
(0.00/0.51/0.20/0.69)	

CMYK percentages

%0
%51.25
%20
%68.63

Codes

Color #502740 in popluar color models

502740
RGB803964
HSL323°34.45%23.33%
HSB/HSV323°51.25%31.37%
CMYK0.00%51.25%20.00%
68.63%

Color #502740 in popluar number systems.

HEX502740
Decimal803964
Binary10100001001111000000
Octal12047100

Shades and tints

Shades of #502740

#502740
(80,39,64)
#49243B
(73,36,59)
#422136
(66,33,54)
#3B1E31
(59,30,49)
#341B2C
(52,27,44)
#2D1827
(45,24,39)
#261522
(38,21,34)
#1F121D
(31,18,29)
#180F18
(24,15,24)
#110C13
(17,12,19)
#0A090E
(10,9,14)
#000000
(0,0,0)

Tints of #502740

#502740
(80,39,64)
#5F3A51
(95,58,81)
#6E4D62
(110,77,98)
#7D6073
(125,96,115)
#8C7384
(140,115,132)
#9B8695
(155,134,149)
#AA99A6
(170,153,166)
#B9ACB7
(185,172,183)
#C8BFC8
(200,191,200)
#D7D2D9
(215,210,217)
#E6E5EA
(230,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #502740; }

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

This text font color is #502740.


Background Color

.myBgColor { background-color: #502740; }

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

This div background color is #502740.


Border color

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

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

This div border color is #502740.


Opacity

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

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

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

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

This text has shadow with #502740 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #502740 on black background.


Color preview on white background

This text has color #502740 on white background.



Black color preview on #502740 background

This text has black color on #502740 background.


White color preview on #502740 background

This text has white color on #502740 background.