PHP Classes

File: vendors/gentelella/vendors/jqvmap/src/ColorScale/rgbToArray.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/jqvmap/src/ColorScale/rgbToArray.js   Download  
File: vendors/gentelella/vendors/jqvmap/src/ColorScale/rgbToArray.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 174 bytes
 

Contents

Class file image Download
ColorScale.rgbToArray = function (rgb) { rgb = rgb.substr(1); return [parseInt(rgb.substr(0, 2), 16), parseInt(rgb.substr(2, 2), 16), parseInt(rgb.substr(4, 2), 16)]; };