COLOR #240940

HEX: #240940
RGB: (36,9,64)

Color info

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

RGB color model

#240940 color RGB value is (36,9,64).

  • red value is 36;
  • green value is 9;
  • blue value is 64.
RGB:
(36,9,64)
(14%,4%,25%)

RGB channels and saturation

R 36 of 255 = 14%
G 9 of 255 = 4%
B 64 of 255 = 25%

36
9
64

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

Portions of RGB colors in percentages

R + G + B =
36 + 9 + 64 = 109 (100%)
R 36 of 109 ~ 33.03%
G 9 of 109 ~ 8.26%
B 64 of 109 ~ 58.72%

%33.03
%58.72

CMYK color model

#240940 color CMYK value is (44,86,0,75).

  • cyan value is 43.75%
  • magenta value is 85.94%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(44,86,0,75)
C44M86Y0K75 
(44%,86%,0%,75%)
(0.44/0.86/0.00/0.75)	

CMYK percentages

%43.75
%85.94
%0
%74.9

Codes

Color #240940 in popluar color models

240940
RGB36964
HSL269°75.34%14.31%
HSB/HSV269°85.94%25.10%
CMYK43.75%85.94%0.00%
74.90%

Color #240940 in popluar number systems.

HEX240940
Decimal36964
Binary10010010011000000
Octal4411100

Shades and tints

Shades of #240940

#240940
(36,9,64)
#21093B
(33,9,59)
#1E0936
(30,9,54)
#1B0931
(27,9,49)
#18092C
(24,9,44)
#150927
(21,9,39)
#120922
(18,9,34)
#0F091D
(15,9,29)
#0C0918
(12,9,24)
#090913
(9,9,19)
#06090E
(6,9,14)
#000000
(0,0,0)

Tints of #240940

#240940
(36,9,64)
#371F51
(55,31,81)
#4A3562
(74,53,98)
#5D4B73
(93,75,115)
#706184
(112,97,132)
#837795
(131,119,149)
#968DA6
(150,141,166)
#A9A3B7
(169,163,183)
#BCB9C8
(188,185,200)
#CFCFD9
(207,207,217)
#E2E5EA
(226,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #240940 color. Also use rgb(36,9,64) instead hex code.

Text Font Color

.myTextColor { color: #240940; }

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

This text font color is #240940.


Background Color

.myBgColor { background-color: #240940; }

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

This div background color is #240940.


Border color

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

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

This div border color is #240940.


Opacity

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

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

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

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

This text has shadow with #240940 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #240940 on black background.


Color preview on white background

This text has color #240940 on white background.



Black color preview on #240940 background

This text has black color on #240940 background.


White color preview on #240940 background

This text has white color on #240940 background.