Color Utilities

Some color models & utilities used in particular by the Treemap Web Component

Learn more »

Learn how to add dcolor utilities to your Web or Mobile Hybrid Application!

Start with installing Node.js, then you are ready to install bower and using bower the dcolor module.
$ npm install -g bower
$ mkdir -p my-app
$ cd my-app
$ bower install dcolor
Edit the application code to include the dcolor module and use it. tag.
<head>
	<script src="bower_components/requirejs/require.js"></script>
	<script>
		require.config({ baseUrl: "bower_components "});
	</script>
	<script>
		require(["dcolor/Color"], function(Color) {
			var color = new Color("red");
		});
	</script>
</head>
<body>
</body>
Don't hesitate to checkout the documentation to go further.