You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the functions I can create a color palette. The next hurdle is to actually apply that color palette to the elements on my page. As far as I understand this is still to be done by humans who know what they are doing. For example, I could make everything in the sidebar pop and make the button in the navbar neutral if I wanted to, using the same color palette. So is there a set of principles that you follow when you decide which elements grab attention that are simple enough to be coded?
In other words I am asking if it is possible to switch the entire theme of a website using a function that only takes a color palette as an input. Taking this to the extreme I would start off with a website that has a color palette of a single color (much like you start in the color-theory page with just red) and then give the function a color palette with say five colors and expect the output to be a page with the color palette applied to the elements without specifying which color goes on which element. The only way I can think of to do this is to somehow write a function that can decide an element's css by analyzing its relationship with other dom elements in its tree and a color palette.
To write such a function I would need to be able to code what goes on in the head of a designer when she is given a dom element and a color palette and she chooses a color from the palette. Is this possible? Can you write down the rules that you use to perform the above task?
The text was updated successfully, but these errors were encountered:
Using the functions I can create a color palette. The next hurdle is to actually apply that color palette to the elements on my page. As far as I understand this is still to be done by humans who know what they are doing. For example, I could make everything in the sidebar pop and make the button in the navbar neutral if I wanted to, using the same color palette. So is there a set of principles that you follow when you decide which elements grab attention that are simple enough to be coded?
In other words I am asking if it is possible to switch the entire theme of a website using a function that only takes a color palette as an input. Taking this to the extreme I would start off with a website that has a color palette of a single color (much like you start in the color-theory page with just red) and then give the function a color palette with say five colors and expect the output to be a page with the color palette applied to the elements without specifying which color goes on which element. The only way I can think of to do this is to somehow write a function that can decide an element's css by analyzing its relationship with other dom elements in its tree and a color palette.
To write such a function I would need to be able to code what goes on in the head of a designer when she is given a dom element and a color palette and she chooses a color from the palette. Is this possible? Can you write down the rules that you use to perform the above task?
The text was updated successfully, but these errors were encountered: