Skip to content

RGB#

This validation rules checks if the posted input is a valid RGB color code. The color values should be between 0 and 255.

The rule is insensitive of the 'RGB' casing.

Class#

LaravelExtendedValidation\Rules\Color\RGB

Valid examples are:

- rgb(255,255,255)
- RGB(255,255,255)

Constructor argument(s)#

none