Changing value of text color depending on background color which is set dynamically
let's say, I have a calendar - every entry is having a different background color (one color per user). There are light and also dark background colors, for the user is able to chose his favorite color. Now I'd like to set the text color fitting the background style. Where and how would I start? Thank you in advance.
Changing value of text color depending on background color which is set dynamically
===

let's say, I have a calendar - every entry is having a different background color (one color per user). There are light and also dark background colors, for the user is able to chose his favorite color. Now I'd like to set the text color fitting the background style. Where and how would I start? Thank you in advance.