TButton.
Color cannot be changed on Windows. See the attached picture below. It is restricted on Windows.
Solutions? Don't use Windows or use other third party button components, for examples:
https://wiki.lazarus.freepascal.org/BGRAControls/de#TBGRAButtonhttps://wiki.lazarus.freepascal.org/TGradButtonBut if you have time and want to do something challenging, you can write your own button component. There were several discussions about creating custom button in the past, you can search the forum if you want learn about it.
I'm newbie in lazarus and exploring the components of the lazarus
Lazarus as a rapid application development tool has plenty of ready-to-use components:
https://wiki.lazarus.freepascal.org/Category:ComponentsFor your information, to enable a component that comes with your Lazarus default installation:
Lazarus main menu >
Package >
Install/Uninstall Packages >
in the right panel, type or select the package you want >
click "Install selection" >
click "Save and rebuild IDE" >
wait until the IDE restartedFor installing a third party component, you can use OPM:
Lazarus main menu >
Package >
Online Package Manager