COLOR #5A402F

HEX: #5A402F
RGB: (90,64,47)

Color info

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

RGB color model

#5A402F color RGB value is (90,64,47).

  • red value is 90;
  • green value is 64;
  • blue value is 47.
RGB:
(90,64,47)
(35%,25%,18%)

RGB channels and saturation

R 90 of 255 = 35%
G 64 of 255 = 25%
B 47 of 255 = 18%

90
64
47

R + G + B ~ 26%. #5A402F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
90 + 64 + 47 = 201 (100%)
R 90 of 201 ~ 44.78%
G 64 of 201 ~ 31.84%
B 47 of 201 ~ 23.38%

%44.78
%31.84
%23.38

CMYK color model

#5A402F color CMYK value is (0,29,48,65).

  • cyan value is 0.00%
  • magenta value is 28.89%
  • yellow value is 47.78%
  • key color value is 64.71%
CMYK:
(0,29,48,65)
C0M29Y48K65 
(0%,29%,48%,65%)
(0.00/0.29/0.48/0.65)	

CMYK percentages

%0
%28.89
%47.78
%64.71

Codes

Color #5A402F in popluar color models

5A402F
RGB906447
HSL24°31.39%26.86%
HSB/HSV24°47.78%35.29%
CMYK0.00%28.89%47.78%
64.71%

Color #5A402F in popluar number systems.

HEX5A402F
Decimal906447
Binary10110101000000101111
Octal13210057

Shades and tints

Shades of #5A402F

#5A402F
(90,64,47)
#523B2B
(82,59,43)
#4A3627
(74,54,39)
#423123
(66,49,35)
#3A2C1F
(58,44,31)
#32271B
(50,39,27)
#2A2217
(42,34,23)
#221D13
(34,29,19)
#1A180F
(26,24,15)
#12130B
(18,19,11)
#0A0E07
(10,14,7)
#000000
(0,0,0)

Tints of #5A402F

#5A402F
(90,64,47)
#695141
(105,81,65)
#786253
(120,98,83)
#877365
(135,115,101)
#968477
(150,132,119)
#A59589
(165,149,137)
#B4A69B
(180,166,155)
#C3B7AD
(195,183,173)
#D2C8BF
(210,200,191)
#E1D9D1
(225,217,209)
#F0EAE3
(240,234,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A402F color. Also use rgb(90,64,47) instead hex code.

Text Font Color

.myTextColor { color: #5A402F; }

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

This text font color is #5A402F.


Background Color

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

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

This div background color is #5A402F.


Border color

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

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

This div border color is #5A402F.


Opacity

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

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

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

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

This text has shadow with #5A402F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A402F on black background.


Color preview on white background

This text has color #5A402F on white background.



Black color preview on #5A402F background

This text has black color on #5A402F background.


White color preview on #5A402F background

This text has white color on #5A402F background.