Skip to content

Instantly share code, notes, and snippets.

@prismicdeveloper
Created March 31, 2015 09:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save prismicdeveloper/2b41f3a75f129a0d6903 to your computer and use it in GitHub Desktop.
bgcolor = document.get_color('article.background')
hex = '#' + (bgcolor ? bgcolor.value : 'FFFFFF')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment