SlideShare a Scribd company logo
COLOR PALETTE
Presented By
Rahul Singodiya
Bachelor of Computer Application
Dezyne E’cole College, Ajmer
Project report on
COLOR PALETTE
Submitted To
Dezyne E’cole College
Towards
The Partial Fulfillment
Of Second Year, Bachelor of Computer Application
By
Rahul Singodiya
Dezyne E,cole College
106/10, Civil Line, Ajmer
www.dezyneecole.com
Acknowledgment
I am Rahul Singodiya student of Bachelor of Computer
Application Dezyne E’Cole College would like to express my
gratitude to each and every person who has contributed in
stimulating suggestions and encouragement which really
helped me to coordinate my project.
I also thank Dezyne E’Cole College who provided insight and
expertise that greatly assisted the project. Also, a special
thanks to my teacher, parents and colleagues who have
supported me at every step.
Not to forget, the almighty who blessed me with good health
because of which I worked more efficiently and better.
Dim a(2), b(2), c(2) As Variant
Dim h(6) As Variant
Private Sub VScroll1_change()
Call Vsone
End Sub
Private Sub VScroll1_Scroll()
Call Vsone
End Sub
Private Sub VScroll2_Change()
Call Vsone
End Sub
Private Sub VScroll2_Scroll()
Call Vsone
End Sub
Private Sub VScroll3_Change()
Call Vsone
End Sub
CODE
Sub Vsone()
Form1.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Text2.Text = VScroll1.Value
Text3.Text = VScroll2.Value
Text4.Text = VScroll3.Value
t1 = VScroll1.Value
t2 = VScroll2.Value
t3 = VScroll3.Value
Text1.Text = ""
i = 0
If t1 < 16 Then
a(1) = 0
End If
If t2 < 16 Then
b(1) = 0
End If
If t3 < 16 Then
c(1) = 0
End If
While t1 <> 0
a(i) = t1 Mod 16
b(i) = t2 Mod 16
c(i) = t3 Mod 16
t1 = t1  16
t2 = t2  16
t3 = t3  16
i = i + 1
Wend
i = 1
While i >= 0
t1 = a(i)
If t1 = 10 Then
a(i) = "A"
ElseIf t1 = 11 Then
a(i) = "B"
ElseIf t1 = 12 Then
a(i) = "C"
ElseIf t1 = 13 Then
a(i) = "D"
ElseIf t1 = 14 Then
a(i) = "E"
ElseIf t1 = 15 Then
a(i) = "F"
Else
a(i) = t1
End If
i = i - 1
Wend
i = 1
While i >= 0
t2 = b(i)
If t2 = 10 Then
b(i) = "A"
ElseIf t2 = 11 Then
b(i) = "B"
ElseIf t2 = 12 Then
b(i) = "C"
ElseIf t2 = 13 Then
b(i) = "D"
ElseIf t2 = 14 Then
b(i) = "E"
ElseIf t2 = 15 Then
b(i) = "F"
Else
b(i) = t2
End If
i = i - 1
Wend
i = 1
While i >= 0
t3 = c(i)
If t3 = 10 Then
c(i) = "A"
ElseIf t3 = 11 Then
c(i) = "B"
ElseIf t3 = 12 Then
c(i) = "C"
ElseIf t3 = 13 Then
c(i) = "D"
ElseIf t3 = 14 Then
c(i) = "E"
ElseIf t3 = 15 Then
c(i) = "F"
Else
c(i) = t3
End If
i = i - 1
Wend
h(0) = Format(a(1), "0")
h(1) = a(0)
h(2) = b(1)
h(3) = b(0)
h(4) = c(1)
h(5) = c(0)
Text1.Text = "#"
i = 0
While i <= 5
Text1.Text = Text1.Text & h(i)
i = i + 1
Wend
End Sub
THANK YOU
Created By: Rahul Singodiya
Bachelor of Computer Application
Dezyne E’cole College, Ajmer

More Related Content

More from rahul singodiya (6)

Restuarant billing
Restuarant billingRestuarant billing
Restuarant billing
 
Marksheet
MarksheetMarksheet
Marksheet
 
Virtual store
Virtual storeVirtual store
Virtual store
 
CAB BOOKING
CAB BOOKINGCAB BOOKING
CAB BOOKING
 
Website
WebsiteWebsite
Website
 
Texteditor
TexteditorTexteditor
Texteditor
 

Recently uploaded

一比一原版IIT毕业证伊利诺伊理工大学毕业证成绩单如何办理
一比一原版IIT毕业证伊利诺伊理工大学毕业证成绩单如何办理一比一原版IIT毕业证伊利诺伊理工大学毕业证成绩单如何办理
一比一原版IIT毕业证伊利诺伊理工大学毕业证成绩单如何办理dsenv
 
CLASS XII- HISTORY-THEME 4-Thinkers, Bes
CLASS XII- HISTORY-THEME 4-Thinkers, BesCLASS XII- HISTORY-THEME 4-Thinkers, Bes
CLASS XII- HISTORY-THEME 4-Thinkers, Besaditiyad2020
 
indian folk dances and their significance
indian folk dances and their significanceindian folk dances and their significance
indian folk dances and their significanceksathish10
 
Sisters_Bond_storyboard.pdf_____________
Sisters_Bond_storyboard.pdf_____________Sisters_Bond_storyboard.pdf_____________
Sisters_Bond_storyboard.pdf_____________LauraBegliomini1
 
Anyone Can Draw Zentangles Interactive Book
Anyone Can Draw Zentangles Interactive BookAnyone Can Draw Zentangles Interactive Book
Anyone Can Draw Zentangles Interactive Bookrajpal6695
 
一比一原版(GU毕业证)格里菲斯大学毕业证成绩单
一比一原版(GU毕业证)格里菲斯大学毕业证成绩单一比一原版(GU毕业证)格里菲斯大学毕业证成绩单
一比一原版(GU毕业证)格里菲斯大学毕业证成绩单zvaywau
 
acting board rough title here lolaaaaaaa
acting board rough title here lolaaaaaaaacting board rough title here lolaaaaaaa
acting board rough title here lolaaaaaaaangelicafronda7
 
一比一原版UC Berkeley毕业证加利福尼亚大学|伯克利分校毕业证成绩单如何办理
一比一原版UC Berkeley毕业证加利福尼亚大学|伯克利分校毕业证成绩单如何办理一比一原版UC Berkeley毕业证加利福尼亚大学|伯克利分校毕业证成绩单如何办理
一比一原版UC Berkeley毕业证加利福尼亚大学|伯克利分校毕业证成绩单如何办理beduwt
 
PHOTO PRESENTATION Z.pdf ...............
PHOTO PRESENTATION Z.pdf ...............PHOTO PRESENTATION Z.pdf ...............
PHOTO PRESENTATION Z.pdf ...............kahnanews24
 
LPU infrastructure.pdf uniinfrastructure
LPU infrastructure.pdf uniinfrastructureLPU infrastructure.pdf uniinfrastructure
LPU infrastructure.pdf uniinfrastructureankitaagnihotri0801
 
Hat in European paintings .ppsx
Hat    in    European    paintings .ppsxHat    in    European    paintings .ppsx
Hat in European paintings .ppsxguimera
 
一比一原版NYU毕业证纽约大学毕业证成绩单如何办理
一比一原版NYU毕业证纽约大学毕业证成绩单如何办理一比一原版NYU毕业证纽约大学毕业证成绩单如何办理
一比一原版NYU毕业证纽约大学毕业证成绩单如何办理beduwt
 
一比一原版UPenn毕业证宾夕法尼亚大学毕业证成绩单如何办理
一比一原版UPenn毕业证宾夕法尼亚大学毕业证成绩单如何办理一比一原版UPenn毕业证宾夕法尼亚大学毕业证成绩单如何办理
一比一原版UPenn毕业证宾夕法尼亚大学毕业证成绩单如何办理beduwt
 
thGAP - BAbyss in Moderno!! Transgenic Human Germline Alternatives Project
thGAP - BAbyss in Moderno!!  Transgenic Human Germline Alternatives ProjectthGAP - BAbyss in Moderno!!  Transgenic Human Germline Alternatives Project
thGAP - BAbyss in Moderno!! Transgenic Human Germline Alternatives ProjectMarc Dusseiller Dusjagr
 
Tackling Poverty in Nigeria, by growing Art-based SMEs
Tackling Poverty in Nigeria, by growing Art-based SMEsTackling Poverty in Nigeria, by growing Art-based SMEs
Tackling Poverty in Nigeria, by growing Art-based SMEsikennaaghanya
 
2137ad - Characters that live in Merindol and are at the center of main stories
2137ad - Characters that live in Merindol and are at the center of main stories2137ad - Characters that live in Merindol and are at the center of main stories
2137ad - Characters that live in Merindol and are at the center of main storiesluforfor
 
2137ad Merindol Colony Interiors where refugee try to build a seemengly norm...
2137ad  Merindol Colony Interiors where refugee try to build a seemengly norm...2137ad  Merindol Colony Interiors where refugee try to build a seemengly norm...
2137ad Merindol Colony Interiors where refugee try to build a seemengly norm...luforfor
 
Presentation slide deck example for portfolio
Presentation slide deck example for portfolioPresentation slide deck example for portfolio
Presentation slide deck example for portfoliokayleeachang
 

Recently uploaded (20)

一比一原版IIT毕业证伊利诺伊理工大学毕业证成绩单如何办理
一比一原版IIT毕业证伊利诺伊理工大学毕业证成绩单如何办理一比一原版IIT毕业证伊利诺伊理工大学毕业证成绩单如何办理
一比一原版IIT毕业证伊利诺伊理工大学毕业证成绩单如何办理
 
CLASS XII- HISTORY-THEME 4-Thinkers, Bes
CLASS XII- HISTORY-THEME 4-Thinkers, BesCLASS XII- HISTORY-THEME 4-Thinkers, Bes
CLASS XII- HISTORY-THEME 4-Thinkers, Bes
 
indian folk dances and their significance
indian folk dances and their significanceindian folk dances and their significance
indian folk dances and their significance
 
Sisters_Bond_storyboard.pdf_____________
Sisters_Bond_storyboard.pdf_____________Sisters_Bond_storyboard.pdf_____________
Sisters_Bond_storyboard.pdf_____________
 
Anyone Can Draw Zentangles Interactive Book
Anyone Can Draw Zentangles Interactive BookAnyone Can Draw Zentangles Interactive Book
Anyone Can Draw Zentangles Interactive Book
 
一比一原版(GU毕业证)格里菲斯大学毕业证成绩单
一比一原版(GU毕业证)格里菲斯大学毕业证成绩单一比一原版(GU毕业证)格里菲斯大学毕业证成绩单
一比一原版(GU毕业证)格里菲斯大学毕业证成绩单
 
acting board rough title here lolaaaaaaa
acting board rough title here lolaaaaaaaacting board rough title here lolaaaaaaa
acting board rough title here lolaaaaaaa
 
一比一原版UC Berkeley毕业证加利福尼亚大学|伯克利分校毕业证成绩单如何办理
一比一原版UC Berkeley毕业证加利福尼亚大学|伯克利分校毕业证成绩单如何办理一比一原版UC Berkeley毕业证加利福尼亚大学|伯克利分校毕业证成绩单如何办理
一比一原版UC Berkeley毕业证加利福尼亚大学|伯克利分校毕业证成绩单如何办理
 
PHOTO PRESENTATION Z.pdf ...............
PHOTO PRESENTATION Z.pdf ...............PHOTO PRESENTATION Z.pdf ...............
PHOTO PRESENTATION Z.pdf ...............
 
LPU infrastructure.pdf uniinfrastructure
LPU infrastructure.pdf uniinfrastructureLPU infrastructure.pdf uniinfrastructure
LPU infrastructure.pdf uniinfrastructure
 
Hat in European paintings .ppsx
Hat    in    European    paintings .ppsxHat    in    European    paintings .ppsx
Hat in European paintings .ppsx
 
一比一原版NYU毕业证纽约大学毕业证成绩单如何办理
一比一原版NYU毕业证纽约大学毕业证成绩单如何办理一比一原版NYU毕业证纽约大学毕业证成绩单如何办理
一比一原版NYU毕业证纽约大学毕业证成绩单如何办理
 
一比一原版UPenn毕业证宾夕法尼亚大学毕业证成绩单如何办理
一比一原版UPenn毕业证宾夕法尼亚大学毕业证成绩单如何办理一比一原版UPenn毕业证宾夕法尼亚大学毕业证成绩单如何办理
一比一原版UPenn毕业证宾夕法尼亚大学毕业证成绩单如何办理
 
Sundabet | Slot gacor dan terpercaya mudah menang
Sundabet | Slot gacor dan terpercaya mudah menangSundabet | Slot gacor dan terpercaya mudah menang
Sundabet | Slot gacor dan terpercaya mudah menang
 
European Cybersecurity Skills Framework Role Profiles.pdf
European Cybersecurity Skills Framework Role Profiles.pdfEuropean Cybersecurity Skills Framework Role Profiles.pdf
European Cybersecurity Skills Framework Role Profiles.pdf
 
thGAP - BAbyss in Moderno!! Transgenic Human Germline Alternatives Project
thGAP - BAbyss in Moderno!!  Transgenic Human Germline Alternatives ProjectthGAP - BAbyss in Moderno!!  Transgenic Human Germline Alternatives Project
thGAP - BAbyss in Moderno!! Transgenic Human Germline Alternatives Project
 
Tackling Poverty in Nigeria, by growing Art-based SMEs
Tackling Poverty in Nigeria, by growing Art-based SMEsTackling Poverty in Nigeria, by growing Art-based SMEs
Tackling Poverty in Nigeria, by growing Art-based SMEs
 
2137ad - Characters that live in Merindol and are at the center of main stories
2137ad - Characters that live in Merindol and are at the center of main stories2137ad - Characters that live in Merindol and are at the center of main stories
2137ad - Characters that live in Merindol and are at the center of main stories
 
2137ad Merindol Colony Interiors where refugee try to build a seemengly norm...
2137ad  Merindol Colony Interiors where refugee try to build a seemengly norm...2137ad  Merindol Colony Interiors where refugee try to build a seemengly norm...
2137ad Merindol Colony Interiors where refugee try to build a seemengly norm...
 
Presentation slide deck example for portfolio
Presentation slide deck example for portfolioPresentation slide deck example for portfolio
Presentation slide deck example for portfolio
 

Colorpalette

  • 1. COLOR PALETTE Presented By Rahul Singodiya Bachelor of Computer Application Dezyne E’cole College, Ajmer
  • 2. Project report on COLOR PALETTE Submitted To Dezyne E’cole College Towards The Partial Fulfillment Of Second Year, Bachelor of Computer Application By Rahul Singodiya Dezyne E,cole College 106/10, Civil Line, Ajmer www.dezyneecole.com
  • 3. Acknowledgment I am Rahul Singodiya student of Bachelor of Computer Application Dezyne E’Cole College would like to express my gratitude to each and every person who has contributed in stimulating suggestions and encouragement which really helped me to coordinate my project. I also thank Dezyne E’Cole College who provided insight and expertise that greatly assisted the project. Also, a special thanks to my teacher, parents and colleagues who have supported me at every step. Not to forget, the almighty who blessed me with good health because of which I worked more efficiently and better.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Dim a(2), b(2), c(2) As Variant Dim h(6) As Variant Private Sub VScroll1_change() Call Vsone End Sub Private Sub VScroll1_Scroll() Call Vsone End Sub Private Sub VScroll2_Change() Call Vsone End Sub Private Sub VScroll2_Scroll() Call Vsone End Sub Private Sub VScroll3_Change() Call Vsone End Sub CODE
  • 9. Sub Vsone() Form1.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Text2.Text = VScroll1.Value Text3.Text = VScroll2.Value Text4.Text = VScroll3.Value t1 = VScroll1.Value t2 = VScroll2.Value t3 = VScroll3.Value Text1.Text = "" i = 0 If t1 < 16 Then a(1) = 0 End If If t2 < 16 Then b(1) = 0 End If If t3 < 16 Then c(1) = 0 End If
  • 10. While t1 <> 0 a(i) = t1 Mod 16 b(i) = t2 Mod 16 c(i) = t3 Mod 16 t1 = t1 16 t2 = t2 16 t3 = t3 16 i = i + 1 Wend i = 1 While i >= 0 t1 = a(i) If t1 = 10 Then a(i) = "A" ElseIf t1 = 11 Then a(i) = "B" ElseIf t1 = 12 Then a(i) = "C" ElseIf t1 = 13 Then a(i) = "D" ElseIf t1 = 14 Then a(i) = "E"
  • 11. ElseIf t1 = 15 Then a(i) = "F" Else a(i) = t1 End If i = i - 1 Wend i = 1 While i >= 0 t2 = b(i) If t2 = 10 Then b(i) = "A" ElseIf t2 = 11 Then b(i) = "B" ElseIf t2 = 12 Then b(i) = "C" ElseIf t2 = 13 Then b(i) = "D" ElseIf t2 = 14 Then b(i) = "E" ElseIf t2 = 15 Then b(i) = "F"
  • 12. Else b(i) = t2 End If i = i - 1 Wend i = 1 While i >= 0 t3 = c(i) If t3 = 10 Then c(i) = "A" ElseIf t3 = 11 Then c(i) = "B" ElseIf t3 = 12 Then c(i) = "C" ElseIf t3 = 13 Then c(i) = "D" ElseIf t3 = 14 Then c(i) = "E" ElseIf t3 = 15 Then c(i) = "F"
  • 13. Else c(i) = t3 End If i = i - 1 Wend h(0) = Format(a(1), "0") h(1) = a(0) h(2) = b(1) h(3) = b(0) h(4) = c(1) h(5) = c(0) Text1.Text = "#" i = 0 While i <= 5 Text1.Text = Text1.Text & h(i) i = i + 1 Wend End Sub
  • 14. THANK YOU Created By: Rahul Singodiya Bachelor of Computer Application Dezyne E’cole College, Ajmer