function colorKeyWord(colStr) {
  const key = colStr.toLowerCase().trim();
  const rgb = colorStruct[key];

  return new RgbaColor(rgb.r, rgb.g, rgb.b, 1);
}
/**
 * Instantiate a new color object
 * @ignore
 * @param { String } colStr Keyword representation of a Color.
 * Support basic and extended keywords defined at {@link https://www.w3.org/TR/css3-color/#svg-color}
 * @return { RgbaColor } Color instance
 * @example
 * colorKeyWord( "yellow" );
 */
Instantiate a new color object
@ignore
@param { String } colStr Keyword representation of a Color.
Instantiate a new color object @ignore @param { String } colStr Keyword representation of a Color .
function colorKeyWord(colStr) {
  const key = colStr.toLowerCase().trim();
  const rgb = colorStruct[key];
  return new RgbaColor(rgb.r, rgb.g, rgb.b, 1);
}
function colorKeyWord ( colStr ) { const key = colStr . toLowerCase ( ) . trim ( ) ; const rgb = colorStruct [ key ] ; return new RgbaColor ( rgb . r , rgb . g , rgb . b , 1 ) ; }
Instantiate a new color object
 @ignore
 @param { String } colStr Keyword representation of a Color.
Instantiate a new color object @ignore @param { String } colStr Keyword representation of a Color .