lib/rothko.rb
def find_closest_term_color(pixel_values)
      color = ""
      lil_dist = 195075
      @@palette.each do |col_name, col_values|
        dist = find_distance(col_values, pixel_values)
        if dist < lil_dist
          lil_dist = dist
          color = col_name
        end
      end
      color
    end
def find_closest_term_color(pixel_values)
      color = ""
      lil_dist = 195075
      @@palette.each do |col_name, col_values|
        dist = find_distance(col_values, pixel_values)
        if dist < lil_dist
          lil_dist = dist
          color = col_name
        end
      end
      color
    end
Iterates over the palette to find the most similar color