COLOR #335788

HEX: #335788
RGB: (51,87,136)

Color info

#335788 contains mainly green and blue colors. Web safe color of #335788 is #336699 (or #369).

RGB color model

#335788 color RGB value is (51,87,136).

  • red value is 51;
  • green value is 87;
  • blue value is 136.
RGB:
(51,87,136)
(20%,34%,53%)

RGB channels and saturation

R 51 of 255 = 20%
G 87 of 255 = 34%
B 136 of 255 = 53%

51
87
136

R + G + B ~ 36%. #335788 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 87 + 136 = 274 (100%)
R 51 of 274 ~ 18.61%
G 87 of 274 ~ 31.75%
B 136 of 274 ~ 49.64%

%18.61
%31.75
%49.64

CMYK color model

#335788 color CMYK value is (63,36,0,47).

  • cyan value is 62.50%
  • magenta value is 36.03%
  • yellow value is 0.00%
  • key color value is 46.67%
CMYK:
(63,36,0,47)
C63M36Y0K47 
(63%,36%,0%,47%)
(0.63/0.36/0.00/0.47)	

CMYK percentages

%62.5
%36.03
%0
%46.67

Codes

Color #335788 in popluar color models

335788
RGB5187136
HSL215°45.45%36.67%
HSB/HSV215°62.50%53.33%
CMYK62.50%36.03%0.00%
46.67%

Color #335788 in popluar number systems.

HEX335788
Decimal5187136
Binary110011101011110001000
Octal63127210

Shades and tints

Shades of #335788

#335788
(51,87,136)
#2F507C
(47,80,124)
#2B4970
(43,73,112)
#274264
(39,66,100)
#233B58
(35,59,88)
#1F344C
(31,52,76)
#1B2D40
(27,45,64)
#172634
(23,38,52)
#131F28
(19,31,40)
#0F181C
(15,24,28)
#0B1110
(11,17,16)
#000000
(0,0,0)

Tints of #335788

#335788
(51,87,136)
#456692
(69,102,146)
#57759C
(87,117,156)
#6984A6
(105,132,166)
#7B93B0
(123,147,176)
#8DA2BA
(141,162,186)
#9FB1C4
(159,177,196)
#B1C0CE
(177,192,206)
#C3CFD8
(195,207,216)
#D5DEE2
(213,222,226)
#E7EDEC
(231,237,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #335788 color. Also use rgb(51,87,136) instead hex code.

Text Font Color

.myTextColor { color: #335788; }

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

This text font color is #335788.


Background Color

.myBgColor { background-color: #335788; }

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

This div background color is #335788.


Border color

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

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

This div border color is #335788.


Opacity

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

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

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

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

This text has shadow with #335788 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #335788 on black background.


Color preview on white background

This text has color #335788 on white background.



Black color preview on #335788 background

This text has black color on #335788 background.


White color preview on #335788 background

This text has white color on #335788 background.