COLOR #542A19

HEX: #542A19
RGB: (84,42,25)

Color info

#542A19 contains red, green and blue colors in about the same proportion. Web safe color of #542A19 is #663300 (or #630).

RGB color model

#542A19 color RGB value is (84,42,25).

  • red value is 84;
  • green value is 42;
  • blue value is 25.
RGB:
(84,42,25)
(33%,16%,10%)

RGB channels and saturation

R 84 of 255 = 33%
G 42 of 255 = 16%
B 25 of 255 = 10%

84
42
25

R + G + B ~ 20%. #542A19 is dark color.

Portions of RGB colors in percentages

R + G + B =
84 + 42 + 25 = 151 (100%)
R 84 of 151 ~ 55.63%
G 42 of 151 ~ 27.81%
B 25 of 151 ~ 16.56%

%55.63
%27.81
%16.56

CMYK color model

#542A19 color CMYK value is (0,50,70,67).

  • cyan value is 0.00%
  • magenta value is 50.00%
  • yellow value is 70.24%
  • key color value is 67.06%
CMYK:
(0,50,70,67)
C0M50Y70K67 
(0%,50%,70%,67%)
(0.00/0.50/0.70/0.67)	

CMYK percentages

%0
%50
%70.24
%67.06

Codes

Color #542A19 in popluar color models

542A19
RGB844225
HSL17°54.13%21.37%
HSB/HSV17°70.24%32.94%
CMYK0.00%50.00%70.24%
67.06%

Color #542A19 in popluar number systems.

HEX542A19
Decimal844225
Binary101010010101011001
Octal1245231

Shades and tints

Shades of #542A19

#542A19
(84,42,25)
#4D2717
(77,39,23)
#462415
(70,36,21)
#3F2113
(63,33,19)
#381E11
(56,30,17)
#311B0F
(49,27,15)
#2A180D
(42,24,13)
#23150B
(35,21,11)
#1C1209
(28,18,9)
#150F07
(21,15,7)
#0E0C05
(14,12,5)
#000000
(0,0,0)

Tints of #542A19

#542A19
(84,42,25)
#633D2D
(99,61,45)
#725041
(114,80,65)
#816355
(129,99,85)
#907669
(144,118,105)
#9F897D
(159,137,125)
#AE9C91
(174,156,145)
#BDAFA5
(189,175,165)
#CCC2B9
(204,194,185)
#DBD5CD
(219,213,205)
#EAE8E1
(234,232,225)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #542A19 color. Also use rgb(84,42,25) instead hex code.

Text Font Color

.myTextColor { color: #542A19; }

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

This text font color is #542A19.


Background Color

.myBgColor { background-color: #542A19; }

<div style="background-color:#542A19">Inner text</div>

This div background color is #542A19.


Border color

.myBorderColor { border: 1px solid #542A19; }

<div style="border:3px solid #542A19">Div</div>

This div border color is #542A19.


Opacity

.myOpacity80 { color: #542A19; opacity: 0.8; }

<p style="color:#542A19;opacity:0.8;">80%</p>

Text with #542A19 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 #542A19;}

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

This text has shadow with #542A19 color.

.textShadow {text-shadow: 3px 3px 1px #542A19, 3px 3px 1px red;}

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

This text has shadow with #542A19 primary color and red secondary color.


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

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

This text has shadow with #542A19 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #542A19 on black background.


Color preview on white background

This text has color #542A19 on white background.



Black color preview on #542A19 background

This text has black color on #542A19 background.


White color preview on #542A19 background

This text has white color on #542A19 background.