COLOR #335242

HEX: #335242
RGB: (51,82,66)

Color info

#335242 contains red, green and blue colors in about the same proportion. Web safe color of #335242 is #336633 (or #363).

RGB color model

#335242 color RGB value is (51,82,66).

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

RGB channels and saturation

R 51 of 255 = 20%
G 82 of 255 = 32%
B 66 of 255 = 26%

51
82
66

R + G + B ~ 26%. #335242 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 82 + 66 = 199 (100%)
R 51 of 199 ~ 25.63%
G 82 of 199 ~ 41.21%
B 66 of 199 ~ 33.17%

%25.63
%41.21
%33.17

CMYK color model

#335242 color CMYK value is (38,0,20,68).

  • cyan value is 37.80%
  • magenta value is 0.00%
  • yellow value is 19.51%
  • key color value is 67.84%
CMYK:
(38,0,20,68)
C38M0Y20K68 
(38%,0%,20%,68%)
(0.38/0.00/0.20/0.68)	

CMYK percentages

%37.8
%0
%19.51
%67.84

Codes

Color #335242 in popluar color models

335242
RGB518266
HSL149°23.31%26.08%
HSB/HSV149°37.80%32.16%
CMYK37.80%0.00%19.51%
67.84%

Color #335242 in popluar number systems.

HEX335242
Decimal518266
Binary11001110100101000010
Octal63122102

Shades and tints

Shades of #335242

#335242
(51,82,66)
#2F4B3C
(47,75,60)
#2B4436
(43,68,54)
#273D30
(39,61,48)
#23362A
(35,54,42)
#1F2F24
(31,47,36)
#1B281E
(27,40,30)
#172118
(23,33,24)
#131A12
(19,26,18)
#0F130C
(15,19,12)
#0B0C06
(11,12,6)
#000000
(0,0,0)

Tints of #335242

#335242
(51,82,66)
#456153
(69,97,83)
#577064
(87,112,100)
#697F75
(105,127,117)
#7B8E86
(123,142,134)
#8D9D97
(141,157,151)
#9FACA8
(159,172,168)
#B1BBB9
(177,187,185)
#C3CACA
(195,202,202)
#D5D9DB
(213,217,219)
#E7E8EC
(231,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #335242; }

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

This text font color is #335242.


Background Color

.myBgColor { background-color: #335242; }

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

This div background color is #335242.


Border color

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

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

This div border color is #335242.


Opacity

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

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

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

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

This text has shadow with #335242 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #335242 on black background.


Color preview on white background

This text has color #335242 on white background.



Black color preview on #335242 background

This text has black color on #335242 background.


White color preview on #335242 background

This text has white color on #335242 background.