> Blending colors is always kind of tricky. I'm not sure this produces > reasonable results... the output color is always going to be lighter than at > least the first arg and probably the second, which seems quite unintuitive.
The color calculation if of course a naive one that ignores the logarithmic nature of RGB colors. Ignoring this it produces good results. ( see http://fforw.de/static/files/blend-example.zip ) (Chris Eppstein's version looks like it does just the same, only with percentages which might be better..) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
