COLOR #335F7C

HEX: #335F7C
RGB: (51,95,124)

Color info

#335F7C contains mainly green and blue colors. Web safe color of #335F7C is #336666 (or #366).

RGB color model

#335F7C color RGB value is (51,95,124).

  • red value is 51;
  • green value is 95;
  • blue value is 124.
RGB:
(51,95,124)
(20%,37%,49%)

RGB channels and saturation

R 51 of 255 = 20%
G 95 of 255 = 37%
B 124 of 255 = 49%

51
95
124

R + G + B ~ 35%. #335F7C is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 95 + 124 = 270 (100%)
R 51 of 270 ~ 18.89%
G 95 of 270 ~ 35.19%
B 124 of 270 ~ 45.93%

%18.89
%35.19
%45.93

CMYK color model

#335F7C color CMYK value is (59,23,0,51).

  • cyan value is 58.87%
  • magenta value is 23.39%
  • yellow value is 0.00%
  • key color value is 51.37%
CMYK:
(59,23,0,51)
C59M23Y0K51 
(59%,23%,0%,51%)
(0.59/0.23/0.00/0.51)	

CMYK percentages

%58.87
%23.39
%0
%51.37

Codes

Color #335F7C in popluar color models

335F7C
RGB5195124
HSL204°41.71%34.31%
HSB/HSV204°58.87%48.63%
CMYK58.87%23.39%0.00%
51.37%

Color #335F7C in popluar number systems.

HEX335F7C
Decimal5195124
Binary11001110111111111100
Octal63137174

Shades and tints

Shades of #335F7C

#335F7C
(51,95,124)
#2F5771
(47,87,113)
#2B4F66
(43,79,102)
#27475B
(39,71,91)
#233F50
(35,63,80)
#1F3745
(31,55,69)
#1B2F3A
(27,47,58)
#17272F
(23,39,47)
#131F24
(19,31,36)
#0F1719
(15,23,25)
#0B0F0E
(11,15,14)
#000000
(0,0,0)

Tints of #335F7C

#335F7C
(51,95,124)
#456D87
(69,109,135)
#577B92
(87,123,146)
#69899D
(105,137,157)
#7B97A8
(123,151,168)
#8DA5B3
(141,165,179)
#9FB3BE
(159,179,190)
#B1C1C9
(177,193,201)
#C3CFD4
(195,207,212)
#D5DDDF
(213,221,223)
#E7EBEA
(231,235,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #335F7C color. Also use rgb(51,95,124) instead hex code.

Text Font Color

.myTextColor { color: #335F7C; }

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

This text font color is #335F7C.


Background Color

.myBgColor { background-color: #335F7C; }

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

This div background color is #335F7C.


Border color

.myBorderColor { border: 1px solid #335F7C; }

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

This div border color is #335F7C.


Opacity

.myOpacity80 { color: #335F7C; opacity: 0.8; }

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

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

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

This text has shadow with #335F7C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #335F7C on black background.


Color preview on white background

This text has color #335F7C on white background.



Black color preview on #335F7C background

This text has black color on #335F7C background.


White color preview on #335F7C background

This text has white color on #335F7C background.