Description Usage Arguments Value Examples
This function takes in a color (input_color
) returns a color in contrast to the input color.
1 | calc_ContrastColor(input_color)
|
input_color |
ESPNCricinfo Player ID. |
"black" or "white" depending on contrast of input_color
1 2 3 4 | calc_ContrastColor("white")
calc_ContrastColor("red")
calc_ContrastColor("blue")
calc_ContrastColor("black")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.