colorrc simple color type helper init const colorManager = new (require('colorrc')).base() check type colorManager.check('#fff'); // return 'hex'