COLOR #283940

HEX: #283940
RGB: (40,57,64)

Color info

#283940 contains red, green and blue colors in about the same proportion. Web safe color of #283940 is #333333 (or #333).

RGB color model

#283940 color RGB value is (40,57,64).

  • red value is 40;
  • green value is 57;
  • blue value is 64.
RGB:
(40,57,64)
(16%,22%,25%)

RGB channels and saturation

R 40 of 255 = 16%
G 57 of 255 = 22%
B 64 of 255 = 25%

40
57
64

R + G + B ~ 21%. #283940 is dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 57 + 64 = 161 (100%)
R 40 of 161 ~ 24.84%
G 57 of 161 ~ 35.4%
B 64 of 161 ~ 39.75%

%24.84
%35.4
%39.75

CMYK color model

#283940 color CMYK value is (38,11,0,75).

  • cyan value is 37.50%
  • magenta value is 10.94%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(38,11,0,75)
C38M11Y0K75 
(38%,11%,0%,75%)
(0.38/0.11/0.00/0.75)	

CMYK percentages

%37.5
%10.94
%0
%74.9

Codes

Color #283940 in popluar color models

283940
RGB405764
HSL198°23.08%20.39%
HSB/HSV198°37.50%25.10%
CMYK37.50%10.94%0.00%
74.90%

Color #283940 in popluar number systems.

HEX283940
Decimal405764
Binary1010001110011000000
Octal5071100

Shades and tints

Shades of #283940

#283940
(40,57,64)
#25343B
(37,52,59)
#222F36
(34,47,54)
#1F2A31
(31,42,49)
#1C252C
(28,37,44)
#192027
(25,32,39)
#161B22
(22,27,34)
#13161D
(19,22,29)
#101118
(16,17,24)
#0D0C13
(13,12,19)
#0A070E
(10,7,14)
#000000
(0,0,0)

Tints of #283940

#283940
(40,57,64)
#3B4B51
(59,75,81)
#4E5D62
(78,93,98)
#616F73
(97,111,115)
#748184
(116,129,132)
#879395
(135,147,149)
#9AA5A6
(154,165,166)
#ADB7B7
(173,183,183)
#C0C9C8
(192,201,200)
#D3DBD9
(211,219,217)
#E6EDEA
(230,237,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #283940 color. Also use rgb(40,57,64) instead hex code.

Text Font Color

.myTextColor { color: #283940; }

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

This text font color is #283940.


Background Color

.myBgColor { background-color: #283940; }

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

This div background color is #283940.


Border color

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

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

This div border color is #283940.


Opacity

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

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

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

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

This text has shadow with #283940 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #283940 on black background.


Color preview on white background

This text has color #283940 on white background.



Black color preview on #283940 background

This text has black color on #283940 background.


White color preview on #283940 background

This text has white color on #283940 background.