UI Color Shade Previewer

Developer
Size
3,159 Kb
Views
4,048

How do I make an ui color shade previewer?

What is a ui color shade previewer? How do you make a ui color shade previewer? This script and codes were developed by EY-Intuitive on 17 January 2023, Tuesday.

UI Color Shade Previewer Previews

UI Color Shade Previewer - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>UI Color Shade Previewer</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ body { background: #222;
}
.color-container { width: 70%; margin: 20px auto; max-width: 300px;
}
.blue { height: 50px; background: #3498db;
}
.blue + .color-shades { height: 30px;
}
.blue + .color-shades li { float: left; width: 25%; height: 30px;
}
.blue + .color-shades li.ten-percent { background: #5faee3;
}
.blue + .color-shades li.twenty-percent { background: #8bc4ea;
}
.blue + .color-shades li.thirty-percent { background: #b6daf2;
}
.blue + .color-shades li.forty-percent { background: #e1f0fa;
}
.green { height: 50px; background: #2ecc71;
}
.green + .color-shades { height: 30px;
}
.green + .color-shades li { float: left; width: 25%; height: 30px;
}
.green + .color-shades li.ten-percent { background: #54d98c;
}
.green + .color-shades li.twenty-percent { background: #7ee2a8;
}
.green + .color-shades li.thirty-percent { background: #a8ebc4;
}
.green + .color-shades li.forty-percent { background: #d1f5e0;
}
.purple { height: 50px; background: #9b59b6;
}
.purple + .color-shades { height: 30px;
}
.purple + .color-shades li { float: left; width: 25%; height: 30px;
}
.purple + .color-shades li.ten-percent { background: #b07cc6;
}
.purple + .color-shades li.twenty-percent { background: #c6a0d5;
}
.purple + .color-shades li.thirty-percent { background: #dbc3e5;
}
.purple + .color-shades li.forty-percent { background: #f0e7f4;
}
.gold { height: 50px; background: #f1c40f;
}
.gold + .color-shades { height: 30px;
}
.gold + .color-shades li { float: left; width: 25%; height: 30px;
}
.gold + .color-shades li.ten-percent { background: #f4d03f;
}
.gold + .color-shades li.twenty-percent { background: #f7dc6f;
}
.gold + .color-shades li.thirty-percent { background: #f9e8a0;
}
.gold + .color-shades li.forty-percent { background: #fcf3d0;
}
.red { height: 50px; background: #e74c3c;
}
.red + .color-shades { height: 30px;
}
.red + .color-shades li { float: left; width: 25%; height: 30px;
}
.red + .color-shades li.ten-percent { background: #ed7669;
}
.red + .color-shades li.twenty-percent { background: #f29f97;
}
.red + .color-shades li.thirty-percent { background: #f8c9c4;
}
.red + .color-shades li.forty-percent { background: #fdf3f2;
}
.orange { height: 50px; background: #e67e22;
}
.orange + .color-shades { height: 30px;
}
.orange + .color-shades li { float: left; width: 25%; height: 30px;
}
.orange + .color-shades li.ten-percent { background: #eb9950;
}
.orange + .color-shades li.twenty-percent { background: #f0b37e;
}
.orange + .color-shades li.thirty-percent { background: #f6ceab;
}
.orange + .color-shades li.forty-percent { background: #fbe9d9;
}
.midnight { height: 50px; background: #34495e;
}
.midnight + .color-shades { height: 30px;
}
.midnight + .color-shades li { float: left; width: 25%; height: 30px;
}
.midnight + .color-shades li.ten-percent { background: #46627f;
}
.midnight + .color-shades li.twenty-percent { background: #587ca0;
}
.midnight + .color-shades li.thirty-percent { background: #7795b4;
}
.midnight + .color-shades li.forty-percent { background: #98afc6;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <section class="color-container"> <div class="color-main blue"></div> <ul class="color-shades"> <li class="ten-percent"></li> <li class="twenty-percent"></li> <li class="thirty-percent"></li> <li class="forty-percent"></li> </ul>
</section>
<section class="color-container"> <div class="color-main green"></div> <ul class="color-shades"> <li class="ten-percent"></li> <li class="twenty-percent"></li> <li class="thirty-percent"></li> <li class="forty-percent"></li> </ul>
</section>
<section class="color-container"> <div class="color-main purple"></div> <ul class="color-shades"> <li class="ten-percent"></li> <li class="twenty-percent"></li> <li class="thirty-percent"></li> <li class="forty-percent"></li> </ul>
</section>
<section class="color-container"> <div class="color-main gold"></div> <ul class="color-shades"> <li class="ten-percent"></li> <li class="twenty-percent"></li> <li class="thirty-percent"></li> <li class="forty-percent"></li> </ul>
</section>
<section class="color-container"> <div class="color-main red"></div> <ul class="color-shades"> <li class="ten-percent"></li> <li class="twenty-percent"></li> <li class="thirty-percent"></li> <li class="forty-percent"></li> </ul>
</section>
<section class="color-container"> <div class="color-main orange"></div> <ul class="color-shades"> <li class="ten-percent"></li> <li class="twenty-percent"></li> <li class="thirty-percent"></li> <li class="forty-percent"></li> </ul>
</section>
<section class="color-container"> <div class="color-main midnight"></div> <ul class="color-shades"> <li class="ten-percent"></li> <li class="twenty-percent"></li> <li class="thirty-percent"></li> <li class="forty-percent"></li> </ul>
</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

UI Color Shade Previewer - Script Codes CSS Codes

body { background: #222;
}
.color-container { width: 70%; margin: 20px auto; max-width: 300px;
}
.blue { height: 50px; background: #3498db;
}
.blue + .color-shades { height: 30px;
}
.blue + .color-shades li { float: left; width: 25%; height: 30px;
}
.blue + .color-shades li.ten-percent { background: #5faee3;
}
.blue + .color-shades li.twenty-percent { background: #8bc4ea;
}
.blue + .color-shades li.thirty-percent { background: #b6daf2;
}
.blue + .color-shades li.forty-percent { background: #e1f0fa;
}
.green { height: 50px; background: #2ecc71;
}
.green + .color-shades { height: 30px;
}
.green + .color-shades li { float: left; width: 25%; height: 30px;
}
.green + .color-shades li.ten-percent { background: #54d98c;
}
.green + .color-shades li.twenty-percent { background: #7ee2a8;
}
.green + .color-shades li.thirty-percent { background: #a8ebc4;
}
.green + .color-shades li.forty-percent { background: #d1f5e0;
}
.purple { height: 50px; background: #9b59b6;
}
.purple + .color-shades { height: 30px;
}
.purple + .color-shades li { float: left; width: 25%; height: 30px;
}
.purple + .color-shades li.ten-percent { background: #b07cc6;
}
.purple + .color-shades li.twenty-percent { background: #c6a0d5;
}
.purple + .color-shades li.thirty-percent { background: #dbc3e5;
}
.purple + .color-shades li.forty-percent { background: #f0e7f4;
}
.gold { height: 50px; background: #f1c40f;
}
.gold + .color-shades { height: 30px;
}
.gold + .color-shades li { float: left; width: 25%; height: 30px;
}
.gold + .color-shades li.ten-percent { background: #f4d03f;
}
.gold + .color-shades li.twenty-percent { background: #f7dc6f;
}
.gold + .color-shades li.thirty-percent { background: #f9e8a0;
}
.gold + .color-shades li.forty-percent { background: #fcf3d0;
}
.red { height: 50px; background: #e74c3c;
}
.red + .color-shades { height: 30px;
}
.red + .color-shades li { float: left; width: 25%; height: 30px;
}
.red + .color-shades li.ten-percent { background: #ed7669;
}
.red + .color-shades li.twenty-percent { background: #f29f97;
}
.red + .color-shades li.thirty-percent { background: #f8c9c4;
}
.red + .color-shades li.forty-percent { background: #fdf3f2;
}
.orange { height: 50px; background: #e67e22;
}
.orange + .color-shades { height: 30px;
}
.orange + .color-shades li { float: left; width: 25%; height: 30px;
}
.orange + .color-shades li.ten-percent { background: #eb9950;
}
.orange + .color-shades li.twenty-percent { background: #f0b37e;
}
.orange + .color-shades li.thirty-percent { background: #f6ceab;
}
.orange + .color-shades li.forty-percent { background: #fbe9d9;
}
.midnight { height: 50px; background: #34495e;
}
.midnight + .color-shades { height: 30px;
}
.midnight + .color-shades li { float: left; width: 25%; height: 30px;
}
.midnight + .color-shades li.ten-percent { background: #46627f;
}
.midnight + .color-shades li.twenty-percent { background: #587ca0;
}
.midnight + .color-shades li.thirty-percent { background: #7795b4;
}
.midnight + .color-shades li.forty-percent { background: #98afc6;
}
UI Color Shade Previewer - Script Codes
UI Color Shade Previewer - Script Codes
Home Page Home
Developer EY-Intuitive
Username ey_intuitive
Uploaded January 17, 2023
Rating 4
Size 3,159 Kb
Views 4,048
Do you need developer help for UI Color Shade Previewer?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

EY-Intuitive (ey_intuitive) Script Codes
Create amazing video scripts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!