COLOR #240F3A

HEX: #240F3A
RGB: (36,15,58)

Color info

#240F3A contains red, green and blue colors in about the same proportion. Web safe color of #240F3A is #330033 (or #303).

RGB color model

#240F3A color RGB value is (36,15,58).

  • red value is 36;
  • green value is 15;
  • blue value is 58.
RGB:
(36,15,58)
(14%,6%,23%)

RGB channels and saturation

R 36 of 255 = 14%
G 15 of 255 = 6%
B 58 of 255 = 23%

36
15
58

R + G + B ~ 14%. #240F3A is dark color.

Portions of RGB colors in percentages

R + G + B =
36 + 15 + 58 = 109 (100%)
R 36 of 109 ~ 33.03%
G 15 of 109 ~ 13.76%
B 58 of 109 ~ 53.21%

%33.03
%13.76
%53.21

CMYK color model

#240F3A color CMYK value is (38,74,0,77).

  • cyan value is 37.93%
  • magenta value is 74.14%
  • yellow value is 0.00%
  • key color value is 77.25%
CMYK:
(38,74,0,77)
C38M74Y0K77 
(38%,74%,0%,77%)
(0.38/0.74/0.00/0.77)	

CMYK percentages

%37.93
%74.14
%0
%77.25

Codes

Color #240F3A in popluar color models

240F3A
RGB361558
HSL269°58.90%14.31%
HSB/HSV269°74.14%22.75%
CMYK37.93%74.14%0.00%
77.25%

Color #240F3A in popluar number systems.

HEX240F3A
Decimal361558
Binary1001001111111010
Octal441772

Shades and tints

Shades of #240F3A

#240F3A
(36,15,58)
#210E35
(33,14,53)
#1E0D30
(30,13,48)
#1B0C2B
(27,12,43)
#180B26
(24,11,38)
#150A21
(21,10,33)
#12091C
(18,9,28)
#0F0817
(15,8,23)
#0C0712
(12,7,18)
#09060D
(9,6,13)
#060508
(6,5,8)
#000000
(0,0,0)

Tints of #240F3A

#240F3A
(36,15,58)
#37244B
(55,36,75)
#4A395C
(74,57,92)
#5D4E6D
(93,78,109)
#70637E
(112,99,126)
#83788F
(131,120,143)
#968DA0
(150,141,160)
#A9A2B1
(169,162,177)
#BCB7C2
(188,183,194)
#CFCCD3
(207,204,211)
#E2E1E4
(226,225,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #240F3A color. Also use rgb(36,15,58) instead hex code.

Text Font Color

.myTextColor { color: #240F3A; }

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

This text font color is #240F3A.


Background Color

.myBgColor { background-color: #240F3A; }

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

This div background color is #240F3A.


Border color

.myBorderColor { border: 1px solid #240F3A; }

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

This div border color is #240F3A.


Opacity

.myOpacity80 { color: #240F3A; opacity: 0.8; }

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

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

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

This text has shadow with #240F3A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #240F3A on black background.


Color preview on white background

This text has color #240F3A on white background.



Black color preview on #240F3A background

This text has black color on #240F3A background.


White color preview on #240F3A background

This text has white color on #240F3A background.