'use strict';

var parseColor = require('../parsers').parseColor;

module.exports.definition = {
  set: function (v) {
    this._setProperty('color', parseColor(v));
  },
  get: function () {
    return this.getPropertyValue('color');
  },
  enumerable: true,
  configurable: true,
};
