OZONE Asylum
Forums
OZONE
Calculate RGB values between two colours
This page's ID:
28533
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Okay, say I've got two colour points in the RGB scale, one representing an eye-searing red, the other a mid-level dark green, and I need to calculate 10 evenly-spaced points between them, does anyone know a way I could do this? See, it's part of a java assignment I'm doing, that colours JList item backgrounds dependent on a given value. 12 points in total, including the two extremes. I can do the program, I just don't know how to calculate those points to create the appropaite Color objects for them. [url=http://sunday.yarinareth.net][img]http://members.ii.net/~skaarjj/tempus.gif[/img][/url] Justice 4 [url=http://www.justice4pat.com]Pat Richard[/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »