Jump to content

Recommended Posts

Posted

Hi, I'm just beginning to explored designer, and I was curious:

 

How can I make one shape two different colors? Like, is there a way I can split it at a certain point and color half of it red and half of it blue?

 

Thanks!

Posted

Very clever! I never thought about using two adjacent gradient stops for this ... that is how you did it, right?

All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted

Yes - It would be easier if we could choose "step" as a transition instead of linear which always tries to blend/interpolate between colors - but it kinda worx.  :D

 

Cheers

P.

post-28670-0-20457600-1485268490_thumb.png

Posted

Quite a nice surprise! Had to try it out right away. 

iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb,  AMD Radeon R9 M290 2048 Mb

iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil

Huion WH1409 tablet

Posted

This probably would cause some oddities for svg exports but otherwise it seems like a good alternative to using two shapes & trying to get everything aligned.

All 3 1.10.8, & all 3 V2.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted

Use 2 shapes with different colours

 

Add a rectangle bigger than the shape

 

Use the rectangle as the mask for the top shape

 

Easy to align and you can rotate the rectangle (mask) if you want a non horizontal change of colour

 

 

post-17958-0-45617300-1485274240_thumb.jpg

To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time.

Posted

You can use a gradient fill for instance:

 

 

Cheers

P.

This is a very clever solution!

Posted

Use 2 shapes with different colours

 

Add a rectangle bigger than the shape

 

Use the rectangle as the mask for the top shape

 

Easy to align and you can rotate the rectangle (mask) if you want a non horizontal change of colour

Good example of use of masks, and easily modifiable.

Posted

Use 2 shapes with different colours

 

Add a rectangle bigger than the shape

 

Use the rectangle as the mask for the top shape

 

Easy to align and you can rotate the rectangle (mask) if you want a non horizontal change of colour

It would actually be better to nest the rectangle below the cog and thus the cog acts as a mask for the rectangle 

you can nest further elements into the cog and thus get very flexible set of "fills"

 

thus you only have one cog shape and this makes modifications much easier 

 

 

cheers

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.