COLOR #383040

HEX: #383040
RGB: (56,48,64)

Color info

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

RGB color model

#383040 color RGB value is (56,48,64).

  • red value is 56;
  • green value is 48;
  • blue value is 64.
RGB:
(56,48,64)
(22%,19%,25%)

RGB channels and saturation

R 56 of 255 = 22%
G 48 of 255 = 19%
B 64 of 255 = 25%

56
48
64

R + G + B ~ 22%. #383040 is dark color.

Portions of RGB colors in percentages

R + G + B =
56 + 48 + 64 = 168 (100%)
R 56 of 168 ~ 33.33%
G 48 of 168 ~ 28.57%
B 64 of 168 ~ 38.1%

%33.33
%28.57
%38.1

CMYK color model

#383040 color CMYK value is (13,25,0,75).

  • cyan value is 12.50%
  • magenta value is 25.00%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(13,25,0,75)
C13M25Y0K75 
(13%,25%,0%,75%)
(0.13/0.25/0.00/0.75)	

CMYK percentages

%12.5
%25
%0
%74.9

Codes

Color #383040 in popluar color models

383040
RGB564864
HSL270°14.29%21.96%
HSB/HSV270°25.00%25.10%
CMYK12.50%25.00%0.00%
74.90%

Color #383040 in popluar number systems.

HEX383040
Decimal564864
Binary1110001100001000000
Octal7060100

Shades and tints

Shades of #383040

#383040
(56,48,64)
#332C3B
(51,44,59)
#2E2836
(46,40,54)
#292431
(41,36,49)
#24202C
(36,32,44)
#1F1C27
(31,28,39)
#1A1822
(26,24,34)
#15141D
(21,20,29)
#101018
(16,16,24)
#0B0C13
(11,12,19)
#06080E
(6,8,14)
#000000
(0,0,0)

Tints of #383040

#383040
(56,48,64)
#4A4251
(74,66,81)
#5C5462
(92,84,98)
#6E6673
(110,102,115)
#807884
(128,120,132)
#928A95
(146,138,149)
#A49CA6
(164,156,166)
#B6AEB7
(182,174,183)
#C8C0C8
(200,192,200)
#DAD2D9
(218,210,217)
#ECE4EA
(236,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #383040 color. Also use rgb(56,48,64) instead hex code.

Text Font Color

.myTextColor { color: #383040; }

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

This text font color is #383040.


Background Color

.myBgColor { background-color: #383040; }

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

This div background color is #383040.


Border color

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

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

This div border color is #383040.


Opacity

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

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

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

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

This text has shadow with #383040 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #383040 on black background.


Color preview on white background

This text has color #383040 on white background.



Black color preview on #383040 background

This text has black color on #383040 background.


White color preview on #383040 background

This text has white color on #383040 background.