编写一个简单的配色方案生成器
我们正在用 C# 开发一个网站 cms,想要集成/开发一个小型且简单的配色方案生成器,例如 colorschemedesigner.com (当然更简单)自动建议协调模板颜色(针对正文背景、文本、标题等)。
该网站上有 6 种颜色创建方法。我们想重新编程“重音类比”算法的逻辑。
有谁知道如何轻松实现这一点,或者我们可以在哪里找到有关此主题的更多信息。如何以编程方式为给定的基础找到一组协调的颜色?
或者是否已经有一些第三方控件可以完成这项工作? 例如高级高级颜色选择器或其他东西。
丹尼尔
we are developing a website cms in C# and want to integrate / develop a small and simple color scheme generator as like as colorschemedesigner.com (of course simplier) to automatically suggest harmonizing template colors (for body background, text, heading etc.).
There are 6 methods for color creation on that website. We would like to reprogram the logic of the "accented analogic" algorithm.
Does anyone know how to easily realize this, or where we could find more information about this topic. How to programatically find a set of harmonizing colors for a given base?
Or are there already some third-party controls out there that could do the job?
E.g. an advanced advanced advanced color picker or some thing.
Daniel
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我过去发现这很有用。 随机柔和颜色生成器
可以找到c#代码在上面的页面上。
I found this useful in the past. Random Pastel Colour Generator
Code in c# can be found on the page above.
Adobe 的 Kuler 在这方面非常擅长。如果您想了解 Kuler 如何创建配色方案的理论,您可以查看以下示例 色彩理论。
您可以首先创建一个色轮,然后使用此链接或其他链接中的方案定义来根据颜色在方向盘上的位置计算出要选择的颜色(例如上面的类似方案)。
Adobe's Kuler is pretty good at this. If you want to look at the theory that governs how Kuler creates colour schemes you can look at examples like this on colour theory.
You could begin by creating a colourwheel then using the scheme definitions in this link -- or others -- to work out which colours to choose based on their position on the wheel (e.g. the analogous scheme above).