Closed guibranco closed 4 months ago
What do you think about using a constructor for color objects with validation?
Currently, we use static functions to create colors. We could explore using a constructor instead. This would allow us to create colors from RGB or hex values and also implement some validation that the users can input on functions
@gvieiragoulart I agree! Do you want to assign this to you? Are you keen to work with it?
@gvieiragoulart I agree! Do you want to assign this to you? Are you keen to work with it?
Yes! please, you can assign to me. I'll work on that
Description
Add
Color
class with RGB helpers.Tech notes
Additional information
⚠️ 🚨 Add documentation and tests