Tweak calculation of primary color #67