You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of colorize is to provide deterministic, mostly distinct coloration of usernames and messages (similar to hash-generated gravatars, albeit without any allusions of uniqueness).
It would be nice if the distinct coloration could be overridden on a site-specific level (e.g. for theming purposes)
Areas for Improvement
The generated "color" is currently based just on a 3-32 char username. Multiple people can use the same or similar names. It would be better if we included some other piece of deterministic information to generate slightly more distinct coloration (e.g. http://jsbin.com/gahigi/edit?html,output).
It would be nice to have an easy way to change the hue, saturation, value, & alpha programmatically to approximate theming (e.g. http://jsbin.com/davima/edit?html,js,output)
Modify colorize to account for different users with same/similar names.
The text was updated successfully, but these errors were encountered: