We want to get colors on edit text in GUI. How can we do this ?

1 view (last 30 days)
We want to get colors on edit text in GUI. How can we do this ? Is there any color code ?

Answers (1)

Robert U
Robert U on 12 Dec 2019
Hi cevdet kopuz,
if you use uicontrol()-elements in your GUI, you can make use of the properties "ForegroundColor" and "BackgroundColor". Both can be controlled by supplying RGB value triplets.
Kind regards,
Robert

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!