csf-dev / CSF.Screenplay

Implementation of the Screenplay pattern (aka Journey) in .NET
https://csf-dev.github.io/CSF.Screenplay/
MIT License
13 stars 1 forks source link

To represent colour cross-browser, devs should be able to use a Colour object #229

Open craigfowler opened 2 weeks ago

craigfowler commented 2 weeks ago

Imported from Selenium issue #54

I have noticed that various web browsers communicate information about colour in different ways. Some use ARGB, some use hex notation and so on. In order to make it easier to query for and work with colour information, there should be a class (struct?) which normalises all of these representations into one.

Such an object/model would need the following functionality: