improve colors

This commit is contained in:
Philipp Kunz 2017-01-21 20:27:25 +01:00
parent 8b6e5211e0
commit ae6940bc31
2 changed files with 6 additions and 6 deletions

6
dist/index.js vendored
View File

@ -15,11 +15,11 @@ let colorTranslator = (colorArg) => {
case 'cyan': case 'cyan':
return { r: 2, g: 4, b: 4 }; return { r: 2, g: 4, b: 4 };
case 'green': case 'green':
return { r: 3, g: 4, b: 0 }; return { r: 2, g: 4, b: 1 };
case 'orange': case 'orange':
return { r: 5, g: 3, b: 0 }; return { r: 5, g: 3, b: 1 };
case 'pink': case 'pink':
return { r: 5, g: 0, b: 3 }; return { r: 3, g: 2, b: 4 };
case 'red': case 'red':
return { r: 5, g: 0, b: 0 }; return { r: 5, g: 0, b: 0 };
case 'white': case 'white':

View File

@ -35,11 +35,11 @@ let colorTranslator = (colorArg: TColorName): IRGB => {
case 'cyan': case 'cyan':
return {r: 2,g: 4, b: 4} return {r: 2,g: 4, b: 4}
case 'green': case 'green':
return {r: 3, g: 4, b: 0} return {r: 2, g: 4, b: 1}
case 'orange': case 'orange':
return {r: 5, g: 3, b: 0} return {r: 5, g: 3, b: 1}
case 'pink': case 'pink':
return {r: 5, g: 0, b: 3} return {r: 3, g: 2, b: 4}
case 'red': case 'red':
return {r: 5, g: 0, b: 0} return {r: 5, g: 0, b: 0}
case 'white': case 'white':