improve colors

This commit is contained in:
Philipp Kunz 2017-01-21 20:30:53 +01:00
parent 1d789532e3
commit aeac61774f
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -9,7 +9,7 @@ let colorTranslator = (colorArg) => {
case 'black': case 'black':
return { r: 0, g: 0, b: 0 }; return { r: 0, g: 0, b: 0 };
case 'blue': case 'blue':
return { r: 0, g: 1, b: 5 }; return { r: 0, g: 2, b: 5 };
case 'brown': case 'brown':
return { r: 1, g: 0, b: 0 }; return { r: 1, g: 0, b: 0 };
case 'cyan': case 'cyan':

View File

@ -29,7 +29,7 @@ let colorTranslator = (colorArg: TColorName): IRGB => {
case 'black': case 'black':
return {r: 0, g: 0, b: 0} return {r: 0, g: 0, b: 0}
case 'blue': case 'blue':
return {r: 0, g: 1, b: 5} return {r: 0, g: 2, b: 5}
case 'brown': case 'brown':
return {r: 1, g: 0 , b: 0} return {r: 1, g: 0 , b: 0}
case 'cyan': case 'cyan':