1 #ifndef SASS_TYPES_COLOR_H
2 #define SASS_TYPES_COLOR_H
5 #include "sass_value_wrapper.h"
9 class Color : public SassValueWrapper<Color> {
12 static char const* get_constructor_name() { return "SassColor"; }
13 static Sass_Value* construct(const std::vector<v8::Local<v8::Value>>, Sass_Value **);
15 static void initPrototype(v8::Local<v8::FunctionTemplate>);
17 static NAN_METHOD(GetR);
18 static NAN_METHOD(GetG);
19 static NAN_METHOD(GetB);
20 static NAN_METHOD(GetA);
21 static NAN_METHOD(SetR);
22 static NAN_METHOD(SetG);
23 static NAN_METHOD(SetB);
24 static NAN_METHOD(SetA);