How to check background color in different browsers?

Hi! I want to check background color in different browsers.
I have a next code:

${bg color} Call Method ${elements} value_of_css_property background-color

The problem is:
I get result in RGB in FireFox, but in chrome I’ve got result RGBa. Why did I get different formats for the same method? I’ve double checked in chrome element have RGB.

Hi,

I think the answer might be there:

Chromedriver returns RGBa, so best solution would be to manage differently the result depending of the browser, or use a Regex.
See this:

Regards
Charlie