COLOR #1F5740

HEX: #1F5740
RGB: (31,87,64)

Color info

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

RGB color model

#1F5740 color RGB value is (31,87,64).

  • red value is 31;
  • green value is 87;
  • blue value is 64.
RGB:
(31,87,64)
(12%,34%,25%)

RGB channels and saturation

R 31 of 255 = 12%
G 87 of 255 = 34%
B 64 of 255 = 25%

31
87
64

R + G + B ~ 24%. #1F5740 is dark color.

Portions of RGB colors in percentages

R + G + B =
31 + 87 + 64 = 182 (100%)
R 31 of 182 ~ 17.03%
G 87 of 182 ~ 47.8%
B 64 of 182 ~ 35.16%

%17.03
%47.8
%35.16

CMYK color model

#1F5740 color CMYK value is (64,0,26,66).

  • cyan value is 64.37%
  • magenta value is 0.00%
  • yellow value is 26.44%
  • key color value is 65.88%
CMYK:
(64,0,26,66)
C64M0Y26K66 
(64%,0%,26%,66%)
(0.64/0.00/0.26/0.66)	

CMYK percentages

%64.37
%0
%26.44
%65.88

Codes

Color #1F5740 in popluar color models

1F5740
RGB318764
HSL155°47.46%23.14%
HSB/HSV155°64.37%34.12%
CMYK64.37%0.00%26.44%
65.88%

Color #1F5740 in popluar number systems.

HEX1F5740
Decimal318764
Binary1111110101111000000
Octal37127100

Shades and tints

Shades of #1F5740

#1F5740
(31,87,64)
#1D503B
(29,80,59)
#1B4936
(27,73,54)
#194231
(25,66,49)
#173B2C
(23,59,44)
#153427
(21,52,39)
#132D22
(19,45,34)
#11261D
(17,38,29)
#0F1F18
(15,31,24)
#0D1813
(13,24,19)
#0B110E
(11,17,14)
#000000
(0,0,0)

Tints of #1F5740

#1F5740
(31,87,64)
#336651
(51,102,81)
#477562
(71,117,98)
#5B8473
(91,132,115)
#6F9384
(111,147,132)
#83A295
(131,162,149)
#97B1A6
(151,177,166)
#ABC0B7
(171,192,183)
#BFCFC8
(191,207,200)
#D3DED9
(211,222,217)
#E7EDEA
(231,237,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F5740 color. Also use rgb(31,87,64) instead hex code.

Text Font Color

.myTextColor { color: #1F5740; }

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

This text font color is #1F5740.


Background Color

.myBgColor { background-color: #1F5740; }

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

This div background color is #1F5740.


Border color

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

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

This div border color is #1F5740.


Opacity

.myOpacity80 { color: #1F5740; opacity: 0.8; }

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

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

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

This text has shadow with #1F5740 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1F5740 on black background.


Color preview on white background

This text has color #1F5740 on white background.



Black color preview on #1F5740 background

This text has black color on #1F5740 background.


White color preview on #1F5740 background

This text has white color on #1F5740 background.