Functiondojo.Color.setColor

<script src="../../js/dojo.js"></script>
defined in dojo/_base/Color.js

takes a named string, hex string, array of rgb or rgba values, an object with r, g, b, and a properties, or another dojo.Color object

Usage

function (/*Array|String|Object*/ color) (view source)
parametertypedescription
colorArray|String|Object