Welcome back to another Illustrator-based tutorial, in which we’re going to take an in-depth look at the process of creating a credit card icon, using nothing more than a couple of basic geometric shapes and tools.
So, assuming you already have the software running in the background, bring it up, and let’s get started!
Tutorial Details: Credit Card Icon
- Program: Adobe Illustrator
- Difficulty: Beginner
- Topics Covered: Compositional Construction, Shape Alignment, Grid Positioning
- Estimated Completion Time: 20 Minutes
Final Image: Credit Card Icon
As we do with every new project, we’re going to kick things off by setting up a New Document by heading over to File > New (or by using the Control-N keyboard shortcut), which we will adjust as follows:
- Number of Artboards: 1
- Width: 64 px
- Height: 64 px
- Units: Pixels
And from the Advanced tab:
- Color Mode: RGB
- Raster Effects: Screen (72ppi)
- Preview Mode: Default
As soon as we’ve finished setting up our project file, we can start working on the actual icon, by creating the main shape for the rear card using a 48 x 32 px rounded rectangle with a 4 px Corner Radius, which we will color using #8888aa, and then position onto the lower-right corner of the Artboard.
Give the shape that we’ve just created an outline using the Stroke method, by creating a copy of it (Control-C) which we will paste in front (Control-F), and then adjust by first flipping its Fill with its Stroke using the Shift-X keyboard shortcut, and then changing its color to #4a4a6d. Once you’re done, set its Stroke’s Weight to 2 px, making sure you select and group the two shapes together using the Control-G keyboard shortcut.
Add the front credit card using a copy (Control-C) of the one that we’ve just finished working on, which we will paste in front (Control-F) and then adjust by changing the Fill shape’s color to white (#FFFFFF), making sure to position the shapes as seen in the reference image.
Create the magnetic stripe using a 48 x 8 px rectangle (#ff9045) with a 2 px thick outline (#4a4a6d), which we will group (Control-G) and then position so that the outlines overlap as seen in the reference image.
Add the two detail lines using a 12 x 2 px rounded rectangle (#4a4a6d) with a 1 px Corner Radius for the left one, followed by a narrower 8 x 2 px one for the second line, horizontally distancing them at 2 px from one another. Once you have both shapes, group (Control-G) and then position them at a distance of 4 px from the card’s bottom-left corner.
Finish off the icon and with it the project itself, by adding the branding details using two 8 x 8 px circles (using #ff9045 for the left one, and #4a4a6d for the right one), which we will overlap, grouping (Control-G) and then positioning them onto the card’s lower-right corner. Once you’re done, don’t forget to select and group (Control-G) all of the front card’s composing shapes, doing the same for the entire icon afterwards.
As always, I hope you had fun working on the project, and most importantly managed to learn something new and useful during the process.
That being said, if you have any questions feel free to post them within the comments section, and I’ll get back to you as soon as I can!