Html färgpalett med koder
Färgpalett
På den här sidan finns det alla namnen på färgerna som anges i W3C: s specifikationer, såväl som deras koder, inklusive koder för färgmodeller RGB, HSL och HEX. Detta innebär att dessa färger alltid kan användas om du inte kommer ihåg koden i någon färg eller dess skugga.
Klicka på den för att ändra färgen från tabellen. Färgen visas i färgpaletten. I paletten kan du också välja färg som drar skidorna med skugga och skjutreglage som ändrar mättnad och ljusstyrka.
Du kan också ändra färgen med tangentbordet: Välj rätt fält med knapparna "Tab" och "Shift+Tab" och sedan ändra innehållet i linjen. Om värdena på linjerna i numret kan du använda pilarna för att öka eller minska värdet med 1. För att tillämpa ändringar, klicka på
Slumpmässig färggenerering
Detta verktyg har också förmågan att skapa slumpmässiga färger. För att göra detta använder du motsvarande knapp i färgpaletten.
Färgmodeller
I paletten kan du se information om färg, inklusive på olika färgmodeller. Följande färgmodeller stöds: RGB, HSL, HEX.
Konservering av paletten
Den högra panelen har en lista med sparade färger och deras kombinationer. Här kan
In a RGB color space, hex #1e40af is composed of % red, % green and % blue. Whereas in a CMYK color space, it is composed of % cyan, % magenta, 0% yellow and % black. It has a hue angle of degrees, a saturation of % and a lightness of %. #1e40af color hex could be obtained by blending #3c80ff with #f. Closest websafe color is: #
- ♥
● #1e40af color description : Dark blue.
The hexadecimal color #1e40af has RGB values of R, G, B and CMYK values of C, M, Y:0, K Its decimal value is
| Hex triplet | 1e40af | |
|---|---|---|
| RGB Decimal | 30, 64, | |
| RGB Percent | , , | |
| CMYK | 83, 63, 0, 31 | |
| HSL | °, , | |
| HSV (or HSB) | °, , | |
| Web Safe | ||
| CIE-LAB | , , |
|---|---|
| XYZ | , , |
| xyY | , , |
| CIE-LCH | , , |
| CIE-LUV | , , |
| Hunter-Lab | , , |
| Binary | , , |
- #e
- #
- #1a
- #1e40af
- #c5
- #da
- #3c62de
Below, you can see some colors close to #1e40af. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
- #1e64af
- #1e58af
- #1e4caf
- #1e40af
- #1e34af
- #1e
What are HTML color codes?
Color codes are ways of representing the colors we see everyday in a format that a computer can interpret and display. Commonly used in websites and other software applications, there are a variety of formats, including Hex color codes, RGB and HSL values, and HTML color names, amongst others.
Hex color codes
The most popular are Hex color codes; three byte hexadecimal numbers (meaning they consist of six digits), with each byte, or pair of characters in the Hex code, representing the intensity of red, green and blue in the color respectively.
Hex code byte values range from 00, which is the lowest intensity of a color, to FF which represents the highest intensity. The color white, for example, is made by mixing each of the three primary colors at their full intensity, resulting in the Hex color code of #FFFFFF.
Black, the absence of any color on a screen display, is the complete opposite, with each color displayed at their lowest possible intensity and a Hex color code of #
Understanding the basics of Hex color code notation we can create grayscale colors very easily, since they consist of equal intensities of each color:
The three primary
Färger
Primära färger
Pappers Röd
RGB: , 24, 72
HEX: #D
PMS CP/UP
CMYK: 0, , 60, 0Mörkröd
RGB: , 0, 50
HEX: #
PMS CP/UP
CMYK: 30, , 40, 50Gul
RGB: , ,
HEX: #FFF0C9
PMS: C/U
CMYK: 0, 5, 30, 0Sekundära färger
Pappers Grön
RGB: 0, ,
HEX: #B
PMS C/U
CMYK: 85, 25, 70, 0Mörkgrön
RGB: 0, 64, 57
HEX: #
PMS CP/ UP
CMYK: 95, 45, 75, 55Ljusgrön
RGB: , ,
HEX: #D7ECD6
PMS C/ C
CMYK: 19, 0 21, 0Pappers Lila
RGB: , ,
HEX: #6B65D1
PMS CP/ UP
CMYK: 70, 65, 0, 0Mörklila
RGB: 36, 31,
HEX: #F64
PMS CP/ UP
CMYK: , , 30, 15Ljuslila
RGB: , ,
HEX: #D3DAFF
PMS: C/ U
CMYK: 23, 16, 0, 0Ljusblå
RGB: , ,
HEX: #D0E2EC
PMS CP/UP
CMYK: 24, 3, 6, 0Ljusrosa
RGB: , ,
HEX: #FFDEE3
PMS: CP/ U
CMYK: 0, 20, 6, 0HTML Color Codes 🎨
What is a HTML color code?
A HTML color code is an identifier used to represent a color on the web and within other digital assets. Common color codes are in the forms of: a keyword name, a hexadecimal value, a RGB (red, green, blue) triplet, or a HSL (hue, saturation, lightness) triplet. Different values allow for 16,, potential colors to be chosen.
For example, the color red can be identifier using the following formats:
- red (keyword name)
- #ff (hex)
- (,0,0) (RGB)
- (0, %, 50%) (HSL)
Because there are so many colors to choose from, tools have been created to make the task of selection much simpler. A color picker allows a user to select a color by clicking on visual range of color to pin-point an exact code. A color chart provides a listing of common colors for quick selection.
To use a selected color code within your web page, you could place the following attribute within a given element to change its background color to red:
What are HTML color codes used for?
HTML color codes are used within HTML and CSS to create web design color schemes. They are primarily used by web designers, graphic designers, computer programmers, and digital illustrato