
How to Design Websites Using Midjourney Images and Figma
- kylixie
- May 2, 2025
- 4 min read

Have you ever created an amazing image in Midjourney and wondered how you could use it for web design? Starting with an AI-generated image can give you a unique foundation for your website layout. This post walks you through taking a Midjourney image, designing a web layout based on it in Figma, and then building that design using HTML and CSS.
Want to streamline your Midjourney workflow for design assets? Explore tools that can automate parts of the process. Check out the Midjourney Automation Suite from TitanXT to see how you can enhance image generation and management.
Designing Your Layout in Figma
Figma is a great tool for web design because it makes it easy to grab CSS properties later. We'll use it to translate our Midjourney image into a usable web layout.
Setting Up the Basic Structure
Start by creating simple shapes in Figma that represent the main panels or grid sections you see in your Midjourney image. Adjust the corners to match the rounded edges in the image.
Applying Colors and Gradients
Move your shape next to the Midjourney image to easily sample colors. Change the shape's fill to 'linear gradient'. Use the eyedropper tool to pick the start and end colors directly from the image. Do this for all the main colored areas.
Creating the Drop Shadow Effect
Here's a slightly different way to make shadows that works well for code later. Duplicate the element you want a shadow on. Add a 'layer blur' effect to the duplicate. Increase the blur amount. Play with the fill opacity to get the right look. Adjust the blur again if needed. Why do it this way? It lets you add different blend modes to the shadow layer, giving you more control. Once it looks right, place the duplicated element behind the original and group them.
Handling the Background Blobs
Create a new frame and set its background color. Draw basic shapes that match any background elements or 'blobs' in your Midjourney image. Use the eyedropper to sample their gradient colors too.
Fixing the Image Quality
Midjourney images are often small and can look pixelated when you try to make them bigger for a website. To fix this, you can use a plugin in Figma that uses AI (like Stable Diffusion) to improve or regenerate the image at a higher resolution.
Draw a square mask over the part of the image you want to enhance.
Select the mask and the image, then use 'Use as mask'.
Open the upscale or regeneration plugin (like 'dreamer').
Select your masked image.
Enter a prompt describing what you *don't* want (e.g., "a digital painting of a sailboat on a lake"). This helps guide the AI to create a new image close to the original style but higher quality.
Generate images until you find one that looks good and fits your design.
Using tools to generate design elements from AI shouldn't stop with a single image. Think about generating variations or related graphics automatically. The Midjourney Automation Suite from TitanXT can help create batches of images perfect for web assets.
Building the Design with Code
Now that you have the design ready in Figma, you can start building it with HTML and CSS.
Creating the Layout with CSS Grid
Since the design is based on panels, CSS Grid is a great fit. Set up a simple two-column grid structure for the main layout.
Applying Styles and Gradients
Create CSS classes for the different gradient and background colors you used in Figma. Apply these classes to your HTML elements to add the visuals.
Implementing the Drop Shadow
Remember the duplicate layer shadow method in Figma? You can do something similar in CSS using a pseudo-element (`::before` or `::after`). This lets you control the color, opacity, blur, and blend mode of the shadow separately.
Adding the Animated Background
For a more interesting background, you can use a fixed canvas element. This allows you to draw shapes and even animate them.
Initialize a canvas element in HTML and set its size.
Use JavaScript to draw the background colors and gradients on the canvas.
To create the moving 'blob' effect, use mathematical functions like sine waves. Combine multiple sine waves to make fluid shapes.
Use a loop that runs on every frame. In each loop, update variables that control the position and shape of the waves. This makes the shapes move and change over time.
The Final Result
Putting it all together, you get a web page that brings your Midjourney image to life. You have the structure from CSS Grid, the colors and shadows from CSS, the enhanced image, and a gently animated background created with the canvas.
Conclusion
Turning a Midjourney image into a functional web design is totally possible using tools like Figma and standard web technologies. It's a creative way to start design projects and gives you unique visual ideas to build upon.
Speed up your design asset creation by automating your Midjourney work. Learn more about the Midjourney Automation Suite at TitanXT and take your AI design workflow to the next level.
Thanks for reading!
Ready to try these techniques? Share your designs!




Comments