COLOR #5A2A27

HEX: #5A2A27
RGB: (90,42,39)

Color info

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

RGB color model

#5A2A27 color RGB value is (90,42,39).

  • red value is 90;
  • green value is 42;
  • blue value is 39.
RGB:
(90,42,39)
(35%,16%,15%)

RGB channels and saturation

R 90 of 255 = 35%
G 42 of 255 = 16%
B 39 of 255 = 15%

90
42
39

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

Portions of RGB colors in percentages

R + G + B =
90 + 42 + 39 = 171 (100%)
R 90 of 171 ~ 52.63%
G 42 of 171 ~ 24.56%
B 39 of 171 ~ 22.81%

%52.63
%24.56
%22.81

CMYK color model

#5A2A27 color CMYK value is (0,53,57,65).

  • cyan value is 0.00%
  • magenta value is 53.33%
  • yellow value is 56.67%
  • key color value is 64.71%
CMYK:
(0,53,57,65)
C0M53Y57K65 
(0%,53%,57%,65%)
(0.00/0.53/0.57/0.65)	

CMYK percentages

%0
%53.33
%56.67
%64.71

Codes

Color #5A2A27 in popluar color models

5A2A27
RGB904239
HSL39.53%25.29%
HSB/HSV56.67%35.29%
CMYK0.00%53.33%56.67%
64.71%

Color #5A2A27 in popluar number systems.

HEX5A2A27
Decimal904239
Binary1011010101010100111
Octal1325247

Shades and tints

Shades of #5A2A27

#5A2A27
(90,42,39)
#522724
(82,39,36)
#4A2421
(74,36,33)
#42211E
(66,33,30)
#3A1E1B
(58,30,27)
#321B18
(50,27,24)
#2A1815
(42,24,21)
#221512
(34,21,18)
#1A120F
(26,18,15)
#120F0C
(18,15,12)
#0A0C09
(10,12,9)
#000000
(0,0,0)

Tints of #5A2A27

#5A2A27
(90,42,39)
#693D3A
(105,61,58)
#78504D
(120,80,77)
#876360
(135,99,96)
#967673
(150,118,115)
#A58986
(165,137,134)
#B49C99
(180,156,153)
#C3AFAC
(195,175,172)
#D2C2BF
(210,194,191)
#E1D5D2
(225,213,210)
#F0E8E5
(240,232,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A2A27 color. Also use rgb(90,42,39) instead hex code.

Text Font Color

.myTextColor { color: #5A2A27; }

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

This text font color is #5A2A27.


Background Color

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

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

This div background color is #5A2A27.


Border color

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

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

This div border color is #5A2A27.


Opacity

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

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

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

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

This text has shadow with #5A2A27 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5A2A27 on black background.


Color preview on white background

This text has color #5A2A27 on white background.



Black color preview on #5A2A27 background

This text has black color on #5A2A27 background.


White color preview on #5A2A27 background

This text has white color on #5A2A27 background.