{"id":15541,"date":"2019-02-08T11:53:56","date_gmt":"2019-02-08T11:53:56","guid":{"rendered":"http:\/\/webartdevelopers.com\/?p=15541"},"modified":"2022-06-30T05:25:25","modified_gmt":"2022-06-30T05:25:25","slug":"duotone-filtering-with-css-variables","status":"publish","type":"post","link":"https:\/\/webartdevelopers.com\/blog\/duotone-filtering-with-css-variables\/","title":{"rendered":"DUOTONE FILTERING WITH CSS VARIABLES"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\"><strong><u><em>Author:<\/em><\/u><\/strong><\/h4>\n\n\n\n<ul><li>Jhey<\/li><li>July 11, 2018<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><u><em>Made with:<\/em><\/u><\/strong><\/h4>\n\n\n\n<ul><li>HTML (Pug) \/ CSS (Stylus) \/ JavaScript (Babel)<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><u><em>About the code:<\/em><\/u><\/strong><\/h4>\n\n\n\n<p>This is an amazing Color Palette created with&nbsp;<code>mix-blend-mode<\/code>&nbsp;to create different duotone filters. It has a handy selector wheel to try out different filters. So here it is! A duotone filtering tester created using CSS variables. The inner ring is the lightening color whilst the outer is the darkening color. To change the colors, adjust the&nbsp;<code>colors<\/code>&nbsp;variable in the&nbsp;<code>Pug<\/code>&nbsp;code.<\/p>\n\n\n\n<p><strong><em>Compatible browsers:<\/em><\/strong> Chrome, Firefox, Opera, Safari<\/p>\n\n\n\n<p><strong><em>Responsive:<\/em><\/strong> No<\/p>\n\n\n\n<p><strong><em>Dependencies:<\/em><\/strong> &#8211;<\/p>\n\n\n<a href=\"https:\/\/codepen.io\/jh3y\/share\/zip\/PBwLYX\" class=\"su-button su-button-style-default\" style=\"color:#ffffff;background-color:#000000;border-color:#000000;border-radius:40px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#ffffff;padding:0px 20px;font-size:16px;line-height:32px;border-color:#4d4d4d;border-radius:40px;text-shadow:none\"> Download<\/span><\/a>\n\n\n<a href=\"https:\/\/codepen.io\/jh3y\/pen\/PBwLYX\" class=\"su-button su-button-style-default\" style=\"color:#ffffff;background-color:#000000;border-color:#000000;border-radius:40px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#ffffff;padding:0px 20px;font-size:16px;line-height:32px;border-color:#4d4d4d;border-radius:40px;text-shadow:none\"> Demo and Code<\/span><\/a>\n<!-- AddThis Advanced Settings generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"Author: Jhey July 11, 2018 Made with: HTML (Pug) \/ CSS (Stylus) \/ JavaScript (Babel) About the code: This is an amazing Color Palette created with&nbsp;mix-blend-mode&nbsp;to create different duotone filters. It has a handy selector wheel to try out different filters. So here it is! A duotone filtering tester created using CSS variables. The inner ring is the lightening color whilst the outer is the darkening color. To change the colors, adjust the&nbsp;colors&nbsp;variable in the&nbsp;Pug&nbsp;code. Compatible browsers: Chrome, Firefox, Opera, Safari Responsive: No Dependencies: &#8211;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt -->","protected":false},"author":1,"featured_media":15542,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[793,9188],"tags":[20,795,9200,4462],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/15541"}],"collection":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/comments?post=15541"}],"version-history":[{"count":3,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/15541\/revisions"}],"predecessor-version":[{"id":33517,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/15541\/revisions\/33517"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/media\/15542"}],"wp:attachment":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/media?parent=15541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/categories?post=15541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/tags?post=15541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}