/code-challenge

A code challenge used to assess developers knowledge and skills

Primary LanguageJavaScript

code-challenge

A code challenge used to assess developers knowledge and skills

Scenario

A developer has tried to do a task that you must now take over and complete. The task has been extended with additional requirements after the developer left. You should use best practices in order to make the code easy to understand, maintain and extend.

The API mock must not be changed and must be used.

Requirements

  • It must be possible to run the program and get back the colors green, blue and red in HEX format.
  • It must be possible to define the colors using their names like red, blue and green.
  • It must be possible to define the order the colors are returned.
Additional requirements
  • The program must also support the colors white and black.
  • The program must also return the RGB values.