Jump to content

Color Converter


Recommended Posts

I was always looking for a color converter as stand-alone pgm (we can find a lot on the WEB as web page). :P

- The current UDF color.au3 gives "only" conversion between RGB and HSL with a single unit.

- "corz" with it's <corz_essentials.au3> implements another UDF with multiple unit and CMYK conversion (three color functions). Nice one.

So I decided to modify the original <color.au3> (now I rename it coolcolor.au3) with the following changes:

- Conversion between RGB <=> HSL

- Conversion between RGB <=> HSV

- Conversion between RGB <=> CMYK

- Single unit [0,1] (The end user will be responsible to convert into the final unit)

- As color.au3 all the conversions are based from this great site EasyRGB

Now about the pgm ColorConverter:

- Conversion from/into HSL

- Conversion from/into HSV

- Conversion from/into CMYK

- Conversion from/into Web (Hex)

- Display the actual color

- Independent unit selection of each color system

- Last unit used are saved into an INI file

Plan for the next Rev:

1) Add conversion from Pantone Color to the other system (via a table)

Let me know if you want other changes.

Have fun!!!





Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...