COLOR #502238

HEX: #502238 RGB: (80,34,56)

Color info

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

RGB color model

#502238 color RGB value is (80,34,56).

RGB: (80,34,56) (31%, 13%, 22%)

RGB channels and saturation

R 80 of 255 = 31%
G 34 of 255 = 13%
B 56 of 255 = 22%

80
34
56

R + G + B ~ 22%. #502238 is dark color.

Portions of RGB colors in percentages

R + G + B = 80 + 34 + 56 = 170 (100%)
R 80 of 170 ~ 47.06%
G 34 of 170 ~ 20%
B 56 of 170 ~ 32.94'%

%47.06
%20
%32.94

CMYK color model

#502238 color CMYK value is (0,58,30,69).

  • cyan value is 0.00%
  • magenta value is 57.50%
  • yellow value is 30.00%
  • key color value is 68.63%
CMYK: (0,58,30,69) C0M58Y30K69 (0%,58%,30%,69%) (0.00/0.58/0.30/0.69) 

CMYK percentages

%0
%57.5
%30
%68.63

Codes

Color #502238 in popluar color models

50 22 38
RGB 80 34 56
HSL 331° 40.35% 22.35%
HSB/HSV 331° 57.50% 31.37%
CMYK 0.00% 57.50% 30.00%
68.63%

Color #502238 in popluar number systems.

HEX 50 22 38
Decimal 80 34 56
Binary 1010000 100010 111000
Octal 120 42 70

Shades and tints

Shades of #502238

#502238
(80,34,56)
#491F33
(73,31,51)
#421C2E
(66,28,46)
#3B1929
(59,25,41)
#341624
(52,22,36)
#2D131F
(45,19,31)
#26101A
(38,16,26)
#1F0D15
(31,13,21)
#180A10
(24,10,16)
#11070B
(17,7,11)
#0A0406
(10,4,6)
#000000
(0,0,0)

Tints of #502238

#502238
(80,34,56)
#5F364A
(95,54,74)
#6E4A5C
(110,74,92)
#7D5E6E
(125,94,110)
#8C7280
(140,114,128)
#9B8692
(155,134,146)
#AA9AA4
(170,154,164)
#B9AEB6
(185,174,182)
#C8C2C8
(200,194,200)
#D7D6DA
(215,214,218)
#E6EAEC
(230,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #502238 color. Also use rgb(80,34,56) instead hex code.

Text Font Color

.myTextColor { color: #502238; }

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

This text font color is #502238.

Background Color

.myBgColor { background-color: #502238; }

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

This div background color is #502238.

Border color

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

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

This div border color is #502238.

Opacity

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

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

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

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

This text has shadow with #502238 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #502238.

Preview

Color preview on black background

This text has color #502238 on black background.


Color preview on white background

This text has color #502238 on white background.


Black color preview on #502238 background

This text has black color on #502238 background.


White color preview on #502238 background

This text has white color on #502238 background.


Related colors

Complementary color

Complementary color for #hex is #AFDDC7.


I love getcolorcode.com

Triadic colors

1 #385022 and #223850 with #502238 are triadic colors.

2 #382250 and #225038 with #502238 are triadic colors.