Math Related : Hex-to-RGB Conversion

By Alexei Kourbatov on Dec 19, 2008

General

Use this script to convert a hex color string to numeric RGB values of the same color. Great for matching colors. Easy to implement!



R: G: B:

Notes

Source Code

Paste this source code into the designated areas.

Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Comments

Blog comments powered by Disqus