summary refs log tree commit diff stats
path: root/palette.h
blob: 15862a5c8707ff578984d78a9c4dafef894bae3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef PALETTE_H_09303AB4
#define PALETTE_H_09303AB4

#include <string>
#include <vector>
#include "color.h"

class palette {
public:

  explicit palette(std::string colors);

  Color getShade(double c) const;

private:

  std::vector<Color> gradient_;
};

#endif /* end of include guard: PALETTE_H_09303AB4 */