Rich Newman

June 24, 2007

Using HSL Color (Hue, Saturation, Luminosity) to Create Better-Looking GUIs (Part 4)

Filed under: .net, c#, Color, dotnet, GUI, HSL, RGB, technology, User Interface — richnewman @ 10:15 pm

Continued from part 3.

Code Listing

The code for this article is available here. It includes the full listing for the HSLColor class discussed in the article.

The project has a treeview that lets you select the various colors within the color scheme.

It also has the three color schemes described in this article available on the ‘Color’ menu (Color/Color Scheme then Original Color Scheme, Color Scheme 2 or Color Scheme 3). The ‘Color’ menu also allows you to set either of the two sets of stripes on any given screen to a custom color using the standard .NET color picker (Color/Set Color 1 or Color/Set Color 2).

In addition the Help menu has a ‘Current Colors’ option that shows both the HSL and RGB values for the current colors displayed on the screen.

Advertisements

2 Comments »

  1. Hello,

    The zip file that you have included here cannot be opened by Explorer, TugZip, WinZip, WinRar or 7zip. Could you please repack and repost?

    Thank you

    Comment by Andrew — September 18, 2007 @ 4:52 pm

  2. Andrew

    Sorry about that: I’ve reposted and it looks fine now

    Rich

    Comment by richnewman — September 18, 2007 @ 11:20 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: