--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Locate the given <tt>color</tt> in this palette and return it if found; otherwise try to allocate the <tt>color</tt>, or if the palette is full, return a color from the palette that is closest to it.
full_name: GD2::Palette#resolve
is_singleton: false
name: resolve
params: (color)
visibility: public
