TColor Colr; Panel1->Color = clRed; Panel2->Color = TColor(0x006CFF6C); Panel3->Color = RGB(250, 250, 180); Colr = TColor(RGB(255, 255, 0)); Panel4->Color = Colr;