Skip to contents

Title

Usage

get_text_color(background_rgb, t = 0.5)

Arguments

background_rgb

A hex color string (e.g. "#FFFFFF")

t

A threshold value between 0 and 1 to determine the text color