COLOR #335255

HEX: #335255
RGB: (51,82,85)

Color info

#335255 contains red, green and blue colors in about the same proportion. Web safe color of #335255 is #336666 (or #366).

RGB color model

#335255 color RGB value is (51,82,85).

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

RGB channels and saturation

R 51 of 255 = 20%
G 82 of 255 = 32%
B 85 of 255 = 33%

51
82
85

R + G + B ~ 28%. #335255 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 82 + 85 = 218 (100%)
R 51 of 218 ~ 23.39%
G 82 of 218 ~ 37.61%
B 85 of 218 ~ 38.99%

%23.39
%37.61
%38.99

CMYK color model

#335255 color CMYK value is (40,4,0,67).

  • cyan value is 40.00%
  • magenta value is 3.53%
  • yellow value is 0.00%
  • key color value is 66.67%
CMYK:
(40,4,0,67)
C40M4Y0K67 
(40%,4%,0%,67%)
(0.40/0.04/0.00/0.67)	

CMYK percentages

%40
%3.53
%0
%66.67

Codes

Color #335255 in popluar color models

335255
RGB518285
HSL185°25.00%26.67%
HSB/HSV185°40.00%33.33%
CMYK40.00%3.53%0.00%
66.67%

Color #335255 in popluar number systems.

HEX335255
Decimal518285
Binary11001110100101010101
Octal63122125

Shades and tints

Shades of #335255

#335255
(51,82,85)
#2F4B4E
(47,75,78)
#2B4447
(43,68,71)
#273D40
(39,61,64)
#233639
(35,54,57)
#1F2F32
(31,47,50)
#1B282B
(27,40,43)
#172124
(23,33,36)
#131A1D
(19,26,29)
#0F1316
(15,19,22)
#0B0C0F
(11,12,15)
#000000
(0,0,0)

Tints of #335255

#335255
(51,82,85)
#456164
(69,97,100)
#577073
(87,112,115)
#697F82
(105,127,130)
#7B8E91
(123,142,145)
#8D9DA0
(141,157,160)
#9FACAF
(159,172,175)
#B1BBBE
(177,187,190)
#C3CACD
(195,202,205)
#D5D9DC
(213,217,220)
#E7E8EB
(231,232,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #335255; }

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

This text font color is #335255.


Background Color

.myBgColor { background-color: #335255; }

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

This div background color is #335255.


Border color

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

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

This div border color is #335255.


Opacity

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

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

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

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

This text has shadow with #335255 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #335255 on black background.


Color preview on white background

This text has color #335255 on white background.



Black color preview on #335255 background

This text has black color on #335255 background.


White color preview on #335255 background

This text has white color on #335255 background.