protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = LBD_Color::Randomized($this->m_CustomDarkColor, 75); $this->LetterColor = LBD_Color::Randomized(LBD_Color::SaturationAdjusted(LBD_Color::Lightened($this->m_CustomDarkColor, 150), 0.5), 75); } }