How to make a green button?

The question looks simple, but I haven’t succeed. I need a button that look exactly like this (this is a button for installing plugin in Intellij idea):

I tried

button(“test”) {
} .apply {
component.background = JBColor(Color(76, 175, 80), Color(56, 142, 60))
component.isOpaque = true
}

But it looks weird: thick green border, and that’s all. If somebody have a link to documentation or an example, I would be appreciate.

It seems to be implemented using ColorButton intellij-community/platform/platform-impl/src/com/intellij/ide/plugins/newui/InstallButton.java at 2c7e0e986b1644f8266508ff137fbab7aefb0d28 · JetBrains/intellij-community · GitHub