COLOR #5A311A

HEX: #5A311A
RGB: (90,49,26)

Color info

#5A311A contains mainly red and green colors. Web safe color of #5A311A is #663300 (or #630).

RGB color model

#5A311A color RGB value is (90,49,26).

  • red value is 90;
  • green value is 49;
  • blue value is 26.
RGB:
(90,49,26)
(35%,19%,10%)

RGB channels and saturation

R 90 of 255 = 35%
G 49 of 255 = 19%
B 26 of 255 = 10%

90
49
26

R + G + B ~ 21%. #5A311A is dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 49 + 26 = 165 (100%)
R 90 of 165 ~ 54.55%
G 49 of 165 ~ 29.7%
B 26 of 165 ~ 15.76%

%54.55
%29.7
%15.76

CMYK color model

#5A311A color CMYK value is (0,46,71,65).

  • cyan value is 0.00%
  • magenta value is 45.56%
  • yellow value is 71.11%
  • key color value is 64.71%
CMYK:
(0,46,71,65)
C0M46Y71K65 
(0%,46%,71%,65%)
(0.00/0.46/0.71/0.65)	

CMYK percentages

%0
%45.56
%71.11
%64.71

Codes

Color #5A311A in popluar color models

5A311A
RGB904926
HSL22°55.17%22.75%
HSB/HSV22°71.11%35.29%
CMYK0.00%45.56%71.11%
64.71%

Color #5A311A in popluar number systems.

HEX5A311A
Decimal904926
Binary101101011000111010
Octal1326132

Shades and tints

Shades of #5A311A

#5A311A
(90,49,26)
#522D18
(82,45,24)
#4A2916
(74,41,22)
#422514
(66,37,20)
#3A2112
(58,33,18)
#321D10
(50,29,16)
#2A190E
(42,25,14)
#22150C
(34,21,12)
#1A110A
(26,17,10)
#120D08
(18,13,8)
#0A0906
(10,9,6)
#000000
(0,0,0)

Tints of #5A311A

#5A311A
(90,49,26)
#69432E
(105,67,46)
#785542
(120,85,66)
#876756
(135,103,86)
#96796A
(150,121,106)
#A58B7E
(165,139,126)
#B49D92
(180,157,146)
#C3AFA6
(195,175,166)
#D2C1BA
(210,193,186)
#E1D3CE
(225,211,206)
#F0E5E2
(240,229,226)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A311A color. Also use rgb(90,49,26) instead hex code.

Text Font Color

.myTextColor { color: #5A311A; }

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

This text font color is #5A311A.


Background Color

.myBgColor { background-color: #5A311A; }

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

This div background color is #5A311A.


Border color

.myBorderColor { border: 1px solid #5A311A; }

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

This div border color is #5A311A.


Opacity

.myOpacity80 { color: #5A311A; opacity: 0.8; }

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

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

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

This text has shadow with #5A311A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A311A on black background.


Color preview on white background

This text has color #5A311A on white background.



Black color preview on #5A311A background

This text has black color on #5A311A background.


White color preview on #5A311A background

This text has white color on #5A311A background.