Class: Pruim::Palette
- Inherits:
-
Array
- Object
- Array
- Pruim::Palette
- Defined in:
- lib/pruim/palette.rb
Instance Method Summary collapse
-
#new_rgb(r, g, b) ⇒ Object
Adds a new RGB color to this palette.
-
#new_rgba(r, g, b, a) ⇒ Object
Adds a new RGBA color to this palette.