COLOR #5A421C

HEX: #5A421C
RGB: (90,66,28)

Color info

#5A421C contains mainly red and green colors. Web safe color of #5A421C is #663333 (or #633).

RGB color model

#5A421C color RGB value is (90,66,28).

  • red value is 90;
  • green value is 66;
  • blue value is 28.
RGB:
(90,66,28)
(35%,26%,11%)

RGB channels and saturation

R 90 of 255 = 35%
G 66 of 255 = 26%
B 28 of 255 = 11%

90
66
28

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

Portions of RGB colors in percentages

R + G + B =
90 + 66 + 28 = 184 (100%)
R 90 of 184 ~ 48.91%
G 66 of 184 ~ 35.87%
B 28 of 184 ~ 15.22%

%48.91
%35.87
%15.22

CMYK color model

#5A421C color CMYK value is (0,27,69,65).

  • cyan value is 0.00%
  • magenta value is 26.67%
  • yellow value is 68.89%
  • key color value is 64.71%
CMYK:
(0,27,69,65)
C0M27Y69K65 
(0%,27%,69%,65%)
(0.00/0.27/0.69/0.65)	

CMYK percentages

%0
%26.67
%68.89
%64.71

Codes

Color #5A421C in popluar color models

5A421C
RGB906628
HSL37°52.54%23.14%
HSB/HSV37°68.89%35.29%
CMYK0.00%26.67%68.89%
64.71%

Color #5A421C in popluar number systems.

HEX5A421C
Decimal906628
Binary1011010100001011100
Octal13210234

Shades and tints

Shades of #5A421C

#5A421C
(90,66,28)
#523C1A
(82,60,26)
#4A3618
(74,54,24)
#423016
(66,48,22)
#3A2A14
(58,42,20)
#322412
(50,36,18)
#2A1E10
(42,30,16)
#22180E
(34,24,14)
#1A120C
(26,18,12)
#120C0A
(18,12,10)
#0A0608
(10,6,8)
#000000
(0,0,0)

Tints of #5A421C

#5A421C
(90,66,28)
#695330
(105,83,48)
#786444
(120,100,68)
#877558
(135,117,88)
#96866C
(150,134,108)
#A59780
(165,151,128)
#B4A894
(180,168,148)
#C3B9A8
(195,185,168)
#D2CABC
(210,202,188)
#E1DBD0
(225,219,208)
#F0ECE4
(240,236,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A421C color. Also use rgb(90,66,28) instead hex code.

Text Font Color

.myTextColor { color: #5A421C; }

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

This text font color is #5A421C.


Background Color

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

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

This div background color is #5A421C.


Border color

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

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

This div border color is #5A421C.


Opacity

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

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

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

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

This text has shadow with #5A421C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A421C on black background.


Color preview on white background

This text has color #5A421C on white background.



Black color preview on #5A421C background

This text has black color on #5A421C background.


White color preview on #5A421C background

This text has white color on #5A421C background.