public final StyleableProperty<Color> createStyleableColorProperty (S styleable, String propertyName, String cssProperty, Function<S, StyleableProperty<Color>> function)

Create a StyleableProperty<Color>. The initial value defaults to Color.BLACK and the inherit flag defaults to false.

Parameters:
styleable    The this reference of the returned property. This is also the property bean.
propertyName    The field name of the StyleableProperty<Color>
cssProperty    The CSS property name
function    A function that returns the StyleableProperty<Color> that was created by this method call.