hari3485 commited on
Commit
fca0995
·
verified ·
1 Parent(s): de906af

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +7 -3
pages/Data Collection.py CHANGED
@@ -521,7 +521,9 @@ def image_details_page():
521
  """)
522
 
523
  # Subheading for Black and White color space
524
- st.subheader("1. Black and White")
 
 
525
  st.write("""
526
  - Represents only two colors: **Black (0)** and **White (255)**.
527
  - Used for simple image processing tasks where color isn't essential.
@@ -530,7 +532,8 @@ def image_details_page():
530
  """)
531
 
532
  # Subheading for Grayscale color space
533
- st.subheader("2. Grayscale")
 
534
  st.write("""
535
  - Extends black and white to include **256 shades of gray**.
536
  - Preserves brightness details but loses color information.
@@ -539,7 +542,8 @@ def image_details_page():
539
  """)
540
 
541
  # Subheading for RGB color space
542
- st.subheader("3. RGB (Red, Green, Blue)")
 
543
  st.write("""
544
  - Combines three color channels: **Red**, **Green**, and **Blue**.
545
  - Each channel can represent **256 shades** (0-255).
 
521
  """)
522
 
523
  # Subheading for Black and White color space
524
+
525
+ st.markdown("<h3 style='text-align:; color: #4a90e2;'>1. Black and White</h3>", unsafe_allow_html=True)
526
+
527
  st.write("""
528
  - Represents only two colors: **Black (0)** and **White (255)**.
529
  - Used for simple image processing tasks where color isn't essential.
 
532
  """)
533
 
534
  # Subheading for Grayscale color space
535
+ st.markdown("<h3 style='text-align:; color: #4169E1;'>2. Grayscale</h3>", unsafe_allow_html=True)
536
+
537
  st.write("""
538
  - Extends black and white to include **256 shades of gray**.
539
  - Preserves brightness details but loses color information.
 
542
  """)
543
 
544
  # Subheading for RGB color space
545
+ st.markdown("<h3 style='text-align:; color: #483D8B;'>3. RGB (Red, Green, Blue)</h3>", unsafe_allow_html=True)
546
+
547
  st.write("""
548
  - Combines three color channels: **Red**, **Green**, and **Blue**.
549
  - Each channel can represent **256 shades** (0-255).