meta data for this page
  •  

This is an old revision of the document!


General Functions

Colors

The 'colors' are accessed through the modeling API using the following:

const { colorize, hexToRgb } = require('@jscad/modeling').colors
Function Notes
let newshape = colorize([1, 0, 0], oldshape) API
let rgbcolor = colorNameToRgb('lightblue') API

Utilities