diff --git a/daily-thought-frontend/src/components/post/Utils.ts b/daily-thought-frontend/src/components/post/Utils.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1ff7df19293ebc514d4ccc0da5e8d5c717b38563
--- /dev/null
+++ b/daily-thought-frontend/src/components/post/Utils.ts
@@ -0,0 +1,5 @@
+export function generateRandomLinearGradient(colors: string[], fixedAngle: boolean): string{
+  const randomAngle = Math.random() * 360;
+  const gradient = Math.floor((Math.random() * 20) + 10);
+  return `linear-gradient(${fixedAngle? 117 : randomAngle}deg, ${colors[0]} ${gradient}%, ${colors[1]} ${100-gradient}%)`
+}
\ No newline at end of file