COLOR #5A3812

HEX: #5A3812
RGB: (90,56,18)

Color info

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

RGB color model

#5A3812 color RGB value is (90,56,18).

  • red value is 90;
  • green value is 56;
  • blue value is 18.
RGB:
(90,56,18)
(35%,22%,7%)

RGB channels and saturation

R 90 of 255 = 35%
G 56 of 255 = 22%
B 18 of 255 = 7%

90
56
18

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

Portions of RGB colors in percentages

R + G + B =
90 + 56 + 18 = 164 (100%)
R 90 of 164 ~ 54.88%
G 56 of 164 ~ 34.15%
B 18 of 164 ~ 10.98%

%54.88
%34.15
%10.98

CMYK color model

#5A3812 color CMYK value is (0,38,80,65).

  • cyan value is 0.00%
  • magenta value is 37.78%
  • yellow value is 80.00%
  • key color value is 64.71%
CMYK:
(0,38,80,65)
C0M38Y80K65 
(0%,38%,80%,65%)
(0.00/0.38/0.80/0.65)	

CMYK percentages

%0
%37.78
%80
%64.71

Codes

Color #5A3812 in popluar color models

5A3812
RGB905618
HSL32°66.67%21.18%
HSB/HSV32°80.00%35.29%
CMYK0.00%37.78%80.00%
64.71%

Color #5A3812 in popluar number systems.

HEX5A3812
Decimal905618
Binary101101011100010010
Octal1327022

Shades and tints

Shades of #5A3812

#5A3812
(90,56,18)
#523311
(82,51,17)
#4A2E10
(74,46,16)
#42290F
(66,41,15)
#3A240E
(58,36,14)
#321F0D
(50,31,13)
#2A1A0C
(42,26,12)
#22150B
(34,21,11)
#1A100A
(26,16,10)
#120B09
(18,11,9)
#0A0608
(10,6,8)
#000000
(0,0,0)

Tints of #5A3812

#5A3812
(90,56,18)
#694A27
(105,74,39)
#785C3C
(120,92,60)
#876E51
(135,110,81)
#968066
(150,128,102)
#A5927B
(165,146,123)
#B4A490
(180,164,144)
#C3B6A5
(195,182,165)
#D2C8BA
(210,200,186)
#E1DACF
(225,218,207)
#F0ECE4
(240,236,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A3812 color. Also use rgb(90,56,18) instead hex code.

Text Font Color

.myTextColor { color: #5A3812; }

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

This text font color is #5A3812.


Background Color

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

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

This div background color is #5A3812.


Border color

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

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

This div border color is #5A3812.


Opacity

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

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

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

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

This text has shadow with #5A3812 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A3812 on black background.


Color preview on white background

This text has color #5A3812 on white background.



Black color preview on #5A3812 background

This text has black color on #5A3812 background.


White color preview on #5A3812 background

This text has white color on #5A3812 background.