COLOR #334228

HEX: #334228
RGB: (51,66,40)

Color info

#334228 contains red, green and blue colors in about the same proportion. Web safe color of #334228 is #333333 (or #333).

RGB color model

#334228 color RGB value is (51,66,40).

  • red value is 51;
  • green value is 66;
  • blue value is 40.
RGB:
(51,66,40)
(20%,26%,16%)

RGB channels and saturation

R 51 of 255 = 20%
G 66 of 255 = 26%
B 40 of 255 = 16%

51
66
40

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

Portions of RGB colors in percentages

R + G + B =
51 + 66 + 40 = 157 (100%)
R 51 of 157 ~ 32.48%
G 66 of 157 ~ 42.04%
B 40 of 157 ~ 25.48%

%32.48
%42.04
%25.48

CMYK color model

#334228 color CMYK value is (23,0,39,74).

  • cyan value is 22.73%
  • magenta value is 0.00%
  • yellow value is 39.39%
  • key color value is 74.12%
CMYK:
(23,0,39,74)
C23M0Y39K74 
(23%,0%,39%,74%)
(0.23/0.00/0.39/0.74)	

CMYK percentages

%22.73
%0
%39.39
%74.12

Codes

Color #334228 in popluar color models

334228
RGB516640
HSL95°24.53%20.78%
HSB/HSV95°39.39%25.88%
CMYK22.73%0.00%39.39%
74.12%

Color #334228 in popluar number systems.

HEX334228
Decimal516640
Binary1100111000010101000
Octal6310250

Shades and tints

Shades of #334228

#334228
(51,66,40)
#2F3C25
(47,60,37)
#2B3622
(43,54,34)
#27301F
(39,48,31)
#232A1C
(35,42,28)
#1F2419
(31,36,25)
#1B1E16
(27,30,22)
#171813
(23,24,19)
#131210
(19,18,16)
#0F0C0D
(15,12,13)
#0B060A
(11,6,10)
#000000
(0,0,0)

Tints of #334228

#334228
(51,66,40)
#45533B
(69,83,59)
#57644E
(87,100,78)
#697561
(105,117,97)
#7B8674
(123,134,116)
#8D9787
(141,151,135)
#9FA89A
(159,168,154)
#B1B9AD
(177,185,173)
#C3CAC0
(195,202,192)
#D5DBD3
(213,219,211)
#E7ECE6
(231,236,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #334228 color. Also use rgb(51,66,40) instead hex code.

Text Font Color

.myTextColor { color: #334228; }

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

This text font color is #334228.


Background Color

.myBgColor { background-color: #334228; }

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

This div background color is #334228.


Border color

.myBorderColor { border: 1px solid #334228; }

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

This div border color is #334228.


Opacity

.myOpacity80 { color: #334228; opacity: 0.8; }

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

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

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

This text has shadow with #334228 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #334228 on black background.


Color preview on white background

This text has color #334228 on white background.



Black color preview on #334228 background

This text has black color on #334228 background.


White color preview on #334228 background

This text has white color on #334228 background.