COLOR #40787B

HEX: #40787B
RGB: (64,120,123)

Color info

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

RGB color model

#40787B color RGB value is (64,120,123).

  • red value is 64;
  • green value is 120;
  • blue value is 123.
RGB:
(64,120,123)
(25%,47%,48%)

RGB channels and saturation

R 64 of 255 = 25%
G 120 of 255 = 47%
B 123 of 255 = 48%

64
120
123

R + G + B ~ 40%. #40787B is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
64 + 120 + 123 = 307 (100%)
R 64 of 307 ~ 20.85%
G 120 of 307 ~ 39.09%
B 123 of 307 ~ 40.07%

%20.85
%39.09
%40.07

CMYK color model

#40787B color CMYK value is (48,2,0,52).

  • cyan value is 47.97%
  • magenta value is 2.44%
  • yellow value is 0.00%
  • key color value is 51.76%
CMYK:
(48,2,0,52)
C48M2Y0K52 
(48%,2%,0%,52%)
(0.48/0.02/0.00/0.52)	

CMYK percentages

%47.97
%2.44
%0
%51.76

Codes

Color #40787B in popluar color models

40787B
RGB64120123
HSL183°31.55%36.67%
HSB/HSV183°47.97%48.24%
CMYK47.97%2.44%0.00%
51.76%

Color #40787B in popluar number systems.

HEX40787B
Decimal64120123
Binary100000011110001111011
Octal100170173

Shades and tints

Shades of #40787B

#40787B
(64,120,123)
#3B6E70
(59,110,112)
#366465
(54,100,101)
#315A5A
(49,90,90)
#2C504F
(44,80,79)
#274644
(39,70,68)
#223C39
(34,60,57)
#1D322E
(29,50,46)
#182823
(24,40,35)
#131E18
(19,30,24)
#0E140D
(14,20,13)
#000000
(0,0,0)

Tints of #40787B

#40787B
(64,120,123)
#518487
(81,132,135)
#629093
(98,144,147)
#739C9F
(115,156,159)
#84A8AB
(132,168,171)
#95B4B7
(149,180,183)
#A6C0C3
(166,192,195)
#B7CCCF
(183,204,207)
#C8D8DB
(200,216,219)
#D9E4E7
(217,228,231)
#EAF0F3
(234,240,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40787B color. Also use rgb(64,120,123) instead hex code.

Text Font Color

.myTextColor { color: #40787B; }

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

This text font color is #40787B.


Background Color

.myBgColor { background-color: #40787B; }

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

This div background color is #40787B.


Border color

.myBorderColor { border: 1px solid #40787B; }

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

This div border color is #40787B.


Opacity

.myOpacity80 { color: #40787B; opacity: 0.8; }

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

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

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

This text has shadow with #40787B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40787B on black background.


Color preview on white background

This text has color #40787B on white background.



Black color preview on #40787B background

This text has black color on #40787B background.


White color preview on #40787B background

This text has white color on #40787B background.