Fix test cases

This commit is contained in:
Stefan Feješ
2017-12-17 22:26:07 +01:00
parent 1c3320ced6
commit 94bf2d2824
20 changed files with 21 additions and 21 deletions

View File

@ -6,5 +6,5 @@ Convert given RGB parameters to hexadecimal string using bitwise left-shift oper
```js
const RGBToHex = (r, g, b) => ((r << 16) + (g << 8) + b).toString(16).padStart(6, '0');
// rgbToHex(255, 165, 1) -> 'ffa501'
// RGBToHex(255, 165, 1) -> 'ffa501'
```