chroma
chroma copied to clipboard
Allow option passing to defined custom palettes
At minimum need to support the :as
option.
Chroma.define_palette :dynamic_palette do |opts|
spin opts[:angle] || 90
end
'red'.paint.foo(angle: 60, as: :rgb)