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
We could implement this if you would like, it would just be a matter of hard coding the natural colors as variables in the class. (Recall that the ws2812 goes in GRB order)
self.red = 0xff00
self.green = 0xff0000
self.blue = 0xff
self.purple = 0x8080
But I still think we should have the option for the user to specify an exact hex color if they choose. Creating these natural colors seems like unnecessary handholding to me, and I don't see why we would do something like this guy did with the nearest_match() method since our LEDs are capable of outputting every hex value from 0x0 to 0xffffff. Limiting the user to only natural colors seems like a disadvantage to me.
came across (this very simple project)[https://github.com/apoorvaeternity/colory] posted on reddit
made me think that maybe, as a convenience method, we should allow setting of color using natural names
The text was updated successfully, but these errors were encountered: