Function decodeHexColor

decode color string supported formats: #RGB #ARGB #RRGGBB #AARRGGBB

Prototype

uint decodeHexColor(
  string s,
  uint defValue = 0u
) pure;

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2015

License

Boost License 1.0