colorbrewer-python icon indicating copy to clipboard operation
colorbrewer-python copied to clipboard

RGB Values as Tuples/Integers

Open quiqua opened this issue 10 years ago • 0 comments

Hey, what do you think of removing all color strings and replace them with interger values?

Right now I'll parse each string and get the values with RegEx, but I would like it to be the other way around, e.g. when you need the string just do "rgb(%d, %d, %d)" % color.

I made a private fork with those changes already, but I don't want to see that many colorbrewer libs for python.

quiqua avatar Feb 12 '15 10:02 quiqua