×

注意!页面内容来自https://html-color.codes/,本站不储存任何内容,为了更好的阅读体验进行在线解析,若有广告出现,请及时反馈。若您觉得侵犯了您的利益,请通知我们进行删除,然后访问 原网页

HTML Color Codes 🎨

The best HTML color codes are waiting for you to find them and they can be found here with all of their nameshex codesrgb values and other attributes!

Color Picker

Hex:

RGB: rgb(102,232,232)

HSL: hsl(232,232,232)

Color Tools

Colors Codes within Images

Input an image and find all the colors within!

Search Images for Colors!
Color Code Chart

A reference of colors in a chart grid form.

See the Color Chart!
Color Code Names

A reference of named color codes for CSS.

See the Color Names!

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 namea hexadecimal valuea RGB (redgreenblue) tripletor a HSL (huesaturationlightness) triplet. Different values allow for 16,777,216 potential colors to be chosen.

For examplethe color red can be identifier using the following formats:

  • red (keyword name)
  • #ff0000 (hex)
  • (255,0,0) (RGB)
  • (0100%50%) (HSL)

Because there are so many colors to choose fromtools 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 pageyou could place the following attribute within a given element to change its background color to red: ="background-color: #ff0000;"

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 designersgraphic designerscomputer programmersand digital illustrators. Choosing the correct web colors can be exhaustingbut it is a great skill to haveespecially for marketing purposes.

To read more about html colorsWikipedia has a good resource on web colors: https://en.wikipedia.org/wiki/Web_colors.

What are basic HTML color codes?

A few common color codes are:
black#000000rgb(0,0,0) white#FFFFFFrgb(255,255,255) silver#C0C0C0rgb(192,192,192 grey#808080rgb(128,128,128) maroon#800000rgb(128,0,0) red#FF0000rgb(255,0,0) purple#800080rgb(128,0,128) fuchsia#FF00FFrgb(255,0,255) green#008000rgb(0,128,0) lime#00FF00rgb(0,255,0) olive#808000rgb(128,128,0) yellow#FFFF00rgb(255,255,0) navy#000080rgb(0,0,128) blue#0000FFrgb(0,0,255) teal#008080rgb(0,128,128) aqua#00FFFFrgb(0,255,255)

Color Lists