Skip to content

Instantly share code, notes, and snippets.

@JayPanoz
Last active March 30, 2016 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JayPanoz/9dba6acd5d8d52ed9c4e to your computer and use it in GitHub Desktop.
Save JayPanoz/9dba6acd5d8d52ed9c4e to your computer and use it in GitHub Desktop.
Colors used in eBook’s RS (background, text, link)
/* CSS filters may be used for some modes
e.g. sepia in iBooks for instance.
Note the eyedropper has been used here,
which could explain unusual text color
for some modes.
In this case, find the filter value
for background and you’ll find the
real value for text + links.
*/
// iBooks
/* iOS */
@ibooksWhiteBg : #fafbfa;
@ibooksWhiteText : #000000;
@ibooksWhiteLink : #406bfb;
@ibooksSepiaBg : #f8f1e3;
@ibooksSepiaText : #000000;
@ibooksSepiaLink : #3f68d4;
@ibooksGrayBg : #5a5a5c;
@ibooksGrayText : #ffffff;
@ibooksGrayLink : #55beff;
@ibooksBlackBg : #121212;
@ibooksBlackText : #b1b1b1;
@ibooksBlackLink : #55beff;
/* Mac/OSX */
@ibooksMacWhiteBg : #fcfcfc;
@ibooksMacWhiteText : #242424;
@ibooksMacWhiteLink : #5083dc;
@ibooksMacSepiaBg : #faf4e8;
@ibooksMacSepiaText : #5f3e21;
@ibooksMacSepiaLink : #4f7fc7;
@ibooksMacGrayBg : #6d6d6f;
@ibooksMacGrayText : #ffffff;
@ibooksMacGrayLink : #63caff;
@ibooksMacBlackBg : #181818;
@ibooksMacBlackText : #bebfbf;
@ibooksMacBlackLink : #63caff;
// Kindle (Fire)
@kindleWhiteBg : #ffffff;
@kindleWhiteText : #232323;
@kindleWhiteLink : #02a5e2;
@kindleSepiaBg : #e7dec7;
@kindleSepiaText : #5d4332;
@kindleSepiaLink : #02a6e2;
@kindleMintBg : #c5e6ce;
@kindleMintText : #3b4c44;
@kindleMintLink : #0456aa;
@kindleBlackBg : #121212;
@kindleBlackText : #a5a5a5;
@kindleBlackLink : #03a3df;
// Kobo (iOS)
@koboWhiteBg : #ffffff;
@koboWhiteText : #000000;
@koboWhiteLink : #042eee;
@koboSepiaBg : #eae4d3;
@koboSepiaText : #453d2d;
@koboSepiaLink : #433ec8;
@koboCyanBg : #e5f6f9;
@koboCyanText : #001015;
@koboCyanLink : #042eeb;
@koboGrayBg : #323333;
@koboGrayText : #ededed;
@koboGrayLink : #1daec7;
@koboBlackBg : #000000;
@koboBlackText : #bbbabb;
@koboBlackLink : #1daec7;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment