To convert from range 0.0-1.0 to 0-255, the values must be divided by 255.0 and not 256.0. The same in the opposite direction. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/965
-- Commit Summary --
* Markdown: fix colors in gtk3
-- File Changes --
M markdown/src/markdown-gtk-compat.c (19)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/965.patch https://github.com/geany/geany-plugins/pull/965.diff