Link to the blueprint blog post.
Fix a bug in how brightness was calculated for the contrast-color function. Extract brightness as its own module & function.

Closes #1254.