scripts/findColors.js
/**
   * returns all colors that match a name
   * @param {string} searchStr search term
   * @param {boolen} bestOf    if set only returns good names
   */
returns all colors that match a name
@param {string} searchStr search term
@param {boolen} bestOf    if set only returns good names
returns all colors that match a name @param { string } searchStr search term @param { boolen } bestOf if set only returns good names
searchNames (searchStr, listKey = 'default') {
    this._validateListKey(listKey);
    return this.colorLists[listKey].filter(
      color => color.name.toLowerCase().includes(searchStr.toLowerCase())
    );
  }
searchNames ( searchStr , listKey = 'default' ) { this . _validateListKey ( listKey ) ; return this . colorLists [ listKey ] . filter ( color => color . name . toLowerCase ( ) . includes ( searchStr . toLowerCase ( ) ) ) ; }
returns all colors that match a name
 @param {string} searchStr search term
 @param {boolen} bestOf    if set only returns good names
returns all colors that match a name @param { string } searchStr search term @param { boolen } bestOf if set only returns good names