This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
Write a function that takes 2 colors as arguments and returns the average color. | |
- The parameters will be two 6-digit hexadecimal strings. This does not need to be validated. | |
- The return value should be a 6-digit hexadecimal string. | |
- The hexadecimal strings represent colors in RGB, much like in CSS. | |
- The average color is to be determined by taking the arithmetic mean for each component: red, green and blue. | |
**/ | |
/** |
NewerOlder